Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.0009329/0.0009329, allocations: 184.3 kB / 316 MB, free: 3.512 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.125/1.125, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0008134/0.0008136, allocations: 94.27 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3638/0.3647, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.5443, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.678, allocations: 424.5 MB / 1.299 GB, free: 323.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/1.678, allocations: 70.53 kB / 1.299 GB, free: 323.7 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.02525/1.704, allocations: 13.59 MB / 1.313 GB, free: 310 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.704, allocations: 8 kB / 1.313 GB, free: 310 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/1.704, allocations: 15.81 kB / 1.313 GB, free: 310 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/1.704, allocations: 243.2 kB / 1.313 GB, free: 309.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/1.704, allocations: 19.98 kB / 1.313 GB, free: 309.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/1.704, allocations: 8 kB / 1.313 GB, free: 309.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006844/1.705, allocations: 0.6125 MB / 1.313 GB, free: 309.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/1.705, allocations: 221 kB / 1.314 GB, free: 308.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.705, allocations: 4 kB / 1.314 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/1.705, allocations: 4 kB / 1.314 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.705, allocations: 4 kB / 1.314 GB, free: 308.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/1.705, allocations: 269.8 kB / 1.314 GB, free: 308.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/1.706, allocations: 418.7 kB / 1.314 GB, free: 308.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/1.706, allocations: 160.8 kB / 1.314 GB, free: 308 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/1.706, allocations: 388.3 kB / 1.315 GB, free: 307.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/1.706, allocations: 43.5 kB / 1.315 GB, free: 307.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 2.224e-06/1.706, allocations: 3.938 kB / 1.315 GB, free: 307.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.002722/1.709, allocations: 0.6994 MB / 1.316 GB, free: 306.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/1.709, allocations: 55.41 kB / 1.316 GB, free: 306.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.688e-05/1.709, allocations: 115 kB / 1.316 GB, free: 306.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.709, allocations: 25.7 kB / 1.316 GB, free: 306.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.837e-05/1.709, allocations: 84.8 kB / 1.316 GB, free: 306.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/1.709, allocations: 126 kB / 1.316 GB, free: 306.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/1.709, allocations: 0 / 1.316 GB, free: 306.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/1.709, allocations: 334.8 kB / 1.316 GB, free: 306 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/1.709, allocations: 131.9 kB / 1.316 GB, free: 305.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/1.71, allocations: 131.9 kB / 1.317 GB, free: 305.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/1.712, allocations: 0.4919 MB / 1.317 GB, free: 305.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.712, allocations: 0 / 1.317 GB, free: 305.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002586/1.715, allocations: 0.6957 MB / 1.318 GB, free: 304.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.715, allocations: 4 kB / 1.318 GB, free: 304.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.715, allocations: 0 / 1.318 GB, free: 304.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.715, allocations: 0 / 1.318 GB, free: 304.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/1.715, allocations: 123.8 kB / 1.318 GB, free: 304.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.715, allocations: 4 kB / 1.318 GB, free: 304.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/1.715, allocations: 59.72 kB / 1.318 GB, free: 304.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/1.715, allocations: 11.98 kB / 1.318 GB, free: 304.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.444e-05/1.715, allocations: 108.9 kB / 1.318 GB, free: 304.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/1.715, allocations: 19.81 kB / 1.318 GB, free: 304.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/1.718, allocations: 0.7672 MB / 1.319 GB, free: 303.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.718, allocations: 4 kB / 1.319 GB, free: 303.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.718, allocations: 0 / 1.319 GB, free: 303.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.718, allocations: 0 / 1.319 GB, free: 303.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/1.718, allocations: 289.8 kB / 1.319 GB, free: 303.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.718, allocations: 0 / 1.319 GB, free: 303.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/1.719, allocations: 119.8 kB / 1.319 GB, free: 303 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.719, allocations: 0 / 1.319 GB, free: 303 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.719, allocations: 11.98 kB / 1.319 GB, free: 303 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.719, allocations: 4 kB / 1.319 GB, free: 303 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.719, allocations: 0 / 1.319 GB, free: 303 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002605/1.721, allocations: 0.7339 MB / 1.32 GB, free: 302.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002609/1.724, allocations: 1.118 MB / 1.321 GB, free: 301.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/1.724, allocations: 92.86 kB / 1.321 GB, free: 301 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/1.724, allocations: 4 kB / 1.321 GB, free: 301 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/1.724, allocations: 47.95 kB / 1.321 GB, free: 300.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.724, allocations: 87.77 kB / 1.321 GB, free: 300.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.724, allocations: 15.98 kB / 1.321 GB, free: 300.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.765e-05/1.724, allocations: 95.28 kB / 1.321 GB, free: 300.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009091/1.725, allocations: 131.8 kB / 1.321 GB, free: 300.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0004281/1.726, allocations: 246.9 kB / 1.322 GB, free: 300.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003943/1.726, allocations: 347.5 kB / 1.322 GB, free: 300 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.726, allocations: 4 kB / 1.322 GB, free: 300 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/1.726, allocations: 199.8 kB / 1.322 GB, free: 299.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/1.727, allocations: 55.94 kB / 1.322 GB, free: 299.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/1.727, allocations: 308.3 kB / 1.323 GB, free: 299.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/1.728, allocations: 0.783 MB / 1.323 GB, free: 298.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/1.728, allocations: 0 / 1.323 GB, free: 298.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)