﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5700	Failed to compile all functions in package SimCodeUtil. Error: Type mismatch.	dev@…	Martin Sjölund	"Dear all,
I am unable to compile OMC. I get this message:

{{{
[/tmp/openmodelica-1.13.2/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:12998:3-12998:60:writable] Error: Type mismatch in assignment in f2 := function Expression.traverseSubexpressions(f1) of .SimCodeUtil.getResources.Func<function>(DAE.Exp $in_e, AvlSetString.Tree $in_tree) => (DAE.Exp e, AvlSetString.Tree tree) := .Expression.traverseSubexpressions<function>(DAE.Exp $in_e, polymorphic<Type_a> $in_arg) => (DAE.Exp e, AvlSetString.Tree arg)
[/tmp/openmodelica-1.13.2/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:12998:3-12998:60:writable] Error: Type mismatch in pattern f2
expression type:
  .Expression.traverseSubexpressions<function>(DAE.Exp $in_e, polymorphic<Type_a> $in_arg) => (DAE.Exp e, AvlSetString.Tree arg)
pattern type:
  .SimCodeUtil.getResources.Func<function>(DAE.Exp $in_e, AvlSetString.Tree $in_tree) => (DAE.Exp e, AvlSetString.Tree tree)
[/tmp/openmodelica-1.13.2/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:32:1-13068:16:writable] Error: Failed to compile all functions in package SimCodeUtil.

}}}

I am currently using code from '''openmodelica-1.13.2.r0.gcd9628b7a''' v1.13.2, and Submodule path 'OMCompiler' that I checked out is: '15ab15257673984eb4a273eaa17186cfb321ad73'

I see that master version of SimCodeUtil.mo doesn't change the code reported above.
Any hints?
Thank you,
VM


"	defect	closed	high	1.14.0	Build Environment	v1.13.2	worksforme	omc SimCodeUtil.mo SimCode	
