Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.226/1.226, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 181.2 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007778/0.0007778, allocations: 93.59 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3702/0.371, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.5515, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.284/4.836, allocations: 2.181 GB / 3.065 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/4.836, allocations: 89.25 kB / 3.065 GB, free: 217.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.8369/5.673, allocations: 288.8 MB / 3.347 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/5.673, allocations: 10.56 kB / 3.347 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/5.673, allocations: 62.09 kB / 3.347 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/5.674, allocations: 331.8 kB / 3.348 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/5.674, allocations: 14.72 kB / 3.348 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/5.674, allocations: 15.72 kB / 3.348 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002722/5.674, allocations: 172.4 kB / 3.348 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/5.674, allocations: 242.7 kB / 3.348 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/5.674, allocations: 2.953 kB / 3.348 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/5.674, allocations: 2.781 kB / 3.348 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/5.674, allocations: 11.72 kB / 3.348 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/5.676, allocations: 1.073 MB / 3.349 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/5.676, allocations: 137.3 kB / 3.349 GB, free: 238 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/5.676, allocations: 85.3 kB / 3.349 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/5.676, allocations: 301.5 kB / 3.35 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/5.676, allocations: 34.34 kB / 3.35 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/5.676, allocations: 0 / 3.35 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0006718/5.677, allocations: 274.9 kB / 3.35 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/5.677, allocations: 51.41 kB / 3.35 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/5.677, allocations: 186.8 kB / 3.35 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/5.677, allocations: 29.52 kB / 3.35 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/5.677, allocations: 151.7 kB / 3.35 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/5.677, allocations: 67.48 kB / 3.35 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/5.677, allocations: 0 / 3.35 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/5.677, allocations: 326.4 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/5.678, allocations: 58.09 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/5.678, allocations: 98.83 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/5.678, allocations: 128.4 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/5.678, allocations: 0 / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004413/5.678, allocations: 251.2 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/5.678, allocations: 9.922 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/5.678, allocations: 0 / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/5.678, allocations: 3.969 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/5.679, allocations: 51.14 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/5.679, allocations: 3.969 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/5.679, allocations: 27.19 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/5.679, allocations: 13.53 kB / 3.351 GB, free: 236.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.268e-05/5.679, allocations: 109.5 kB / 3.351 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/5.679, allocations: 19.56 kB / 3.351 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/5.68, allocations: 280.2 kB / 3.352 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/5.68, allocations: 0 / 3.352 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/5.68, allocations: 0 / 3.352 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/5.68, allocations: 0 / 3.352 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/5.681, allocations: 0.7276 MB / 3.352 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/5.681, allocations: 5.938 kB / 3.352 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/5.681, allocations: 44.69 kB / 3.353 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/5.681, allocations: 3.906 kB / 3.353 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/5.681, allocations: 7.812 kB / 3.353 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/5.681, allocations: 3.812 kB / 3.353 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/5.681, allocations: 3.5 kB / 3.353 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006689/5.682, allocations: 0.5595 MB / 3.353 GB, free: 236 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00101/5.683, allocations: 1.075 MB / 3.354 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.519e-05/5.683, allocations: 114.5 kB / 3.354 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/5.683, allocations: 7.797 kB / 3.354 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/5.683, allocations: 26.62 kB / 3.354 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/5.683, allocations: 11.62 kB / 3.354 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/5.683, allocations: 11.81 kB / 3.354 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.647e-05/5.683, allocations: 146.6 kB / 3.354 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001286/5.684, allocations: 300.7 kB / 3.355 GB, free: 234.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001724/5.686, allocations: 1.361 MB / 3.356 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003327/5.687, allocations: 152.2 kB / 3.356 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/5.687, allocations: 1.375 kB / 3.356 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/5.687, allocations: 86.98 kB / 3.356 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/5.687, allocations: 76.67 kB / 3.356 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008849/5.688, allocations: 0.4918 MB / 3.357 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/5.688, allocations: 0.8208 MB / 3.358 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/5.688, allocations: 4.594 kB / 3.358 GB, free: 233.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)