Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 202.3 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 225.5 MB / 234.4 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000883/0.0008831, allocations: 93.27 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1015/0.1024, allocations: 56.89 MB / 343.2 MB, free: 8.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.197, allocations: 51.48 MB / 394.7 MB, free: 5.055 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/0.4318, allocations: 80.12 MB / 474.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001674/0.432, allocations: 72.05 kB / 474.9 MB, free: 12.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.01723/0.4493, allocations: 8.268 MB / 483.2 MB, free: 6.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.4493, allocations: 11.28 kB / 483.2 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.4495, allocations: 74.48 kB / 483.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.4499, allocations: 354 kB / 483.6 MB, free: 5.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4499, allocations: 16 kB / 483.6 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.45, allocations: 20 kB / 483.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000309/0.4503, allocations: 179.1 kB / 483.8 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.4507, allocations: 402 kB / 484.2 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4507, allocations: 11.84 kB / 484.2 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.4508, allocations: 4 kB / 484.2 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4508, allocations: 12 kB / 484.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.4522, allocations: 2.734 MB / 487 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.4525, allocations: 149 kB / 487.1 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.4526, allocations: 58.42 kB / 487.2 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.4527, allocations: 85.09 kB / 487.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.4527, allocations: 34.16 kB / 487.3 MB, free: 2.168 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.4527, allocations: 3.938 kB / 487.3 MB, free: 2.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003036/0.453, allocations: 142.6 kB / 487.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.592e-05/0.4531, allocations: 62 kB / 487.5 MB, free: 1.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.4533, allocations: 275.1 kB / 487.8 MB, free: 1.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.4533, allocations: 29.7 kB / 487.8 MB, free: 1.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.4534, allocations: 257.7 kB / 488 MB, free: 1.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.4534, allocations: 56.83 kB / 488.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.4534, allocations: 0 / 488.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.4535, allocations: 352.4 kB / 488.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.4536, allocations: 49.88 kB / 488.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4537, allocations: 197.5 kB / 488.7 MB, free: 0.8359 MB / 346.7 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "+maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated Error: Internal error SimCode: The model Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs could not be translated to FMU