Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 179.8 kB / 8.477 MB, free: 0.5156 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.2 MB / 214.1 MB, free: 8.539 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 86.28 kB / 262.1 MB, free: 5.129 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 0.09824/0.09915, allocations: 52.98 MB / 315.1 MB, free: 1.93 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.1873, allocations: 47.57 MB / 362.6 MB, free: 2.234 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.4351, allocations: 78.79 MB / 441.4 MB, free: 8.781 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.4354, allocations: 71.27 kB / 441.5 MB, free: 8.746 MB / 322.8 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.01762/0.4531, allocations: 8.241 MB / 449.7 MB, free: 1.918 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.4531, allocations: 12 kB / 449.7 MB, free: 1.906 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.4533, allocations: 61.94 kB / 449.8 MB, free: 1.848 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.4539, allocations: 356.6 kB / 450.2 MB, free: 1.496 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.4539, allocations: 16 kB / 450.2 MB, free: 1.48 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.454, allocations: 20 kB / 450.2 MB, free: 1.461 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003721/0.4544, allocations: 171.7 kB / 450.4 MB, free: 1.355 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.4549, allocations: 411.2 kB / 450.8 MB, free: 0.9492 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.4549, allocations: 11.84 kB / 450.8 MB, free: 0.9375 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.4549, allocations: 4 kB / 450.8 MB, free: 0.9336 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.455, allocations: 12.39 kB / 450.8 MB, free: 0.9258 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.4573, allocations: 2.735 MB / 453.5 MB, free: 14.29 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.4577, allocations: 148 kB / 453.7 MB, free: 14.17 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.4578, allocations: 59.17 kB / 453.7 MB, free: 14.13 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.458, allocations: 96.58 kB / 453.8 MB, free: 14.02 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.458, allocations: 34.5 kB / 453.9 MB, free: 13.98 MB / 338.8 MB Notification: Performance of pre-optimization done (n=16): time 2.915e-06/0.458, allocations: 5.828 kB / 453.9 MB, free: 13.98 MB / 338.8 MB Notification: Performance of matching and sorting (n=16): time 0.0003861/0.4584, allocations: 136.5 kB / 454 MB, free: 13.86 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.4584, allocations: 63.06 kB / 454.1 MB, free: 13.79 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.4588, allocations: 275.6 kB / 454.3 MB, free: 13.56 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4588, allocations: 25.7 kB / 454.3 MB, free: 13.53 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.4589, allocations: 251.9 kB / 454.6 MB, free: 13.3 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.459, allocations: 62.12 kB / 454.7 MB, free: 13.25 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-06/0.459, allocations: 0 / 454.7 MB, free: 13.25 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4591, allocations: 353.3 kB / 455 MB, free: 12.91 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.4592, allocations: 51.59 kB / 455.1 MB, free: 12.88 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.4594, allocations: 196.8 kB / 455.2 MB, free: 12.64 MB / 338.8 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