Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",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 4.0.0+maint.om/package.mo): time 0.004746/0.004746, allocations: 180.3 kB / 7.453 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6981/0.6981, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 101.3 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5134/0.5144, allocations: 88.42 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.7246, allocations: 82.31 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.26/4.985, allocations: 1.828 GB / 2.462 GB, free: 89.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/4.985, allocations: 86.08 kB / 2.462 GB, free: 89.65 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.7786/5.764, allocations: 210.3 MB / 2.667 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/5.764, allocations: 11.98 kB / 2.667 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/5.764, allocations: 31.72 kB / 2.667 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/5.764, allocations: 287.1 kB / 2.667 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/5.764, allocations: 4 kB / 2.667 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/5.764, allocations: 12 kB / 2.667 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002116/5.765, allocations: 95.92 kB / 2.667 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/5.765, allocations: 222.4 kB / 2.668 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/5.765, allocations: 0 / 2.668 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/5.765, allocations: 4 kB / 2.668 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/5.765, allocations: 4 kB / 2.668 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/5.766, allocations: 1.294 MB / 2.669 GB, free: 159 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/5.766, allocations: 155.6 kB / 2.669 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/5.766, allocations: 77.33 kB / 2.669 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/5.767, allocations: 117 kB / 2.669 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/5.767, allocations: 42.55 kB / 2.669 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/5.767, allocations: 0 / 2.669 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004707/5.767, allocations: 141.3 kB / 2.669 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/5.767, allocations: 188 kB / 2.67 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/5.767, allocations: 175.5 kB / 2.67 GB, free: 158 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/5.767, allocations: 29.7 kB / 2.67 GB, free: 158 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/5.767, allocations: 140 kB / 2.67 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/5.767, allocations: 31.55 kB / 2.67 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/5.767, allocations: 0 / 2.67 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.125e-05/5.768, allocations: 326.8 kB / 2.67 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/5.768, allocations: 31.98 kB / 2.67 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/5.768, allocations: 108.3 kB / 2.67 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/5.768, allocations: 71.83 kB / 2.671 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/5.768, allocations: 4 kB / 2.671 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002597/5.768, allocations: 161.5 kB / 2.671 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/5.768, allocations: 4 kB / 2.671 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/5.768, allocations: 0 / 2.671 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/5.768, allocations: 12.22 kB / 2.671 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/5.768, allocations: 35.92 kB / 2.671 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/5.768, allocations: 4 kB / 2.671 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/5.769, allocations: 31.75 kB / 2.671 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/5.769, allocations: 16 kB / 2.671 GB, free: 156.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/5.769, allocations: 104.9 kB / 2.671 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/5.769, allocations: 23.72 kB / 2.671 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/5.769, allocations: 106.7 kB / 2.671 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/5.769, allocations: 7.984 kB / 2.671 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/5.769, allocations: 0 / 2.671 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/5.769, allocations: 4 kB / 2.671 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/5.77, allocations: 0.7266 MB / 2.672 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/5.77, allocations: 0 / 2.672 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/5.77, allocations: 27.98 kB / 2.672 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/5.77, allocations: 8.156 kB / 2.672 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/5.77, allocations: 0 / 2.672 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/5.77, allocations: 7.984 kB / 2.672 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/5.77, allocations: 64 / 2.672 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003576/5.77, allocations: 367.8 kB / 2.672 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005476/5.771, allocations: 0.813 MB / 2.673 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/5.771, allocations: 104.8 kB / 2.673 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/5.771, allocations: 3.984 kB / 2.673 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/5.771, allocations: 8 kB / 2.673 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/5.771, allocations: 11.98 kB / 2.673 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/5.771, allocations: 12.06 kB / 2.673 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.167e-05/5.771, allocations: 127.2 kB / 2.673 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001204/5.772, allocations: 239.8 kB / 2.673 GB, free: 154.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001437/5.774, allocations: 1.14 MB / 2.674 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001819/5.774, allocations: 84.28 kB / 2.675 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/5.774, allocations: 0 / 2.675 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/5.774, allocations: 43.94 kB / 2.675 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/5.775, allocations: 60.19 kB / 2.675 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/5.775, allocations: 333.7 kB / 2.675 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/5.775, allocations: 0.7862 MB / 2.676 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/5.775, allocations: 4 kB / 2.676 GB, free: 151.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)