Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7399/0.7399, allocations: 141.8 MB / 149.1 MB, free: 13.69 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 183.5 kB / 181.9 MB, free: 10.29 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.3 MB / 436 MB, free: 2.812 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.0009592, allocations: 96.59 kB / 0.507 GB, free: 17.85 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 278.2 kB / 0.5884 GB, free: 4.262 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4124/0.4142, allocations: 89.64 MB / 0.676 GB, free: 137 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.5548, allocations: 82.77 MB / 0.7568 GB, free: 84.03 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6603/1.215, allocations: 400.5 MB / 1.148 GB, free: 9.359 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.215, allocations: 80.06 kB / 1.148 GB, free: 9.32 MB / 0.7138 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.3507/1.566, allocations: 13.85 MB / 1.162 GB, free: 205.5 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.566, allocations: 11.5 kB / 1.162 GB, free: 205.5 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/1.566, allocations: 15.22 kB / 1.162 GB, free: 205.5 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/1.567, allocations: 241.8 kB / 1.162 GB, free: 205.3 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/1.567, allocations: 22.2 kB / 1.162 GB, free: 205.3 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/1.567, allocations: 9.625 kB / 1.162 GB, free: 205.3 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007398/1.567, allocations: 0.6136 MB / 1.162 GB, free: 205.3 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/1.568, allocations: 212.4 kB / 1.163 GB, free: 205.3 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.568, allocations: 5.594 kB / 1.163 GB, free: 205.3 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/1.568, allocations: 0 / 1.163 GB, free: 205.3 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/1.568, allocations: 3.844 kB / 1.163 GB, free: 205.3 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/1.568, allocations: 271.9 kB / 1.163 GB, free: 205.1 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/1.568, allocations: 416.2 kB / 1.163 GB, free: 205.1 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/1.569, allocations: 169.6 kB / 1.163 GB, free: 205.1 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/1.569, allocations: 385.8 kB / 1.164 GB, free: 204.7 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.569, allocations: 39.62 kB / 1.164 GB, free: 204.7 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/1.569, allocations: 0 / 1.164 GB, free: 204.7 MB / 0.7138 GB Notification: Performance of matching and sorting (n=37): time 0.002925/1.572, allocations: 0.6986 MB / 1.165 GB, free: 204.6 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/1.572, allocations: 59.94 kB / 1.165 GB, free: 204.6 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/1.572, allocations: 122 kB / 1.165 GB, free: 204.5 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/1.572, allocations: 25.7 kB / 1.165 GB, free: 204.4 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 1.967e-05/1.572, allocations: 83.55 kB / 1.165 GB, free: 204.4 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/1.572, allocations: 124.3 kB / 1.165 GB, free: 204.3 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/1.572, allocations: 0 / 1.165 GB, free: 204.3 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.565e-05/1.572, allocations: 329.5 kB / 1.165 GB, free: 204 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.573, allocations: 135.7 kB / 1.165 GB, free: 204 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/1.573, allocations: 131.9 kB / 1.166 GB, free: 204 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/1.575, allocations: 499.5 kB / 1.166 GB, free: 204 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.575, allocations: 0.9844 kB / 1.166 GB, free: 204 MB / 0.7138 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00279/1.578, allocations: 0.6987 MB / 1.167 GB, free: 203.9 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.578, allocations: 9.969 kB / 1.167 GB, free: 203.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.578, allocations: 0 / 1.167 GB, free: 203.9 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.578, allocations: 0 / 1.167 GB, free: 203.9 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/1.578, allocations: 119.4 kB / 1.167 GB, free: 203.9 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.578, allocations: 7.875 kB / 1.167 GB, free: 203.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/1.579, allocations: 61.58 kB / 1.167 GB, free: 203.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/1.579, allocations: 14.7 kB / 1.167 GB, free: 203.9 MB / 0.7138 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 0.0001214/1.579, allocations: 112.5 kB / 1.167 GB, free: 203.8 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/1.579, allocations: 19.53 kB / 1.167 GB, free: 203.8 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/1.582, allocations: 0.7446 MB / 1.168 GB, free: 203.8 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.582, allocations: 7.25 kB / 1.168 GB, free: 203.8 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.582, allocations: 7.359 kB / 1.168 GB, free: 203.8 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.582, allocations: 3.938 kB / 1.168 GB, free: 203.8 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/1.582, allocations: 282 kB / 1.168 GB, free: 203.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.582, allocations: 3.938 kB / 1.168 GB, free: 203.6 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/1.583, allocations: 121.6 kB / 1.168 GB, free: 203.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.583, allocations: 0 / 1.168 GB, free: 203.6 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/1.583, allocations: 11.23 kB / 1.168 GB, free: 203.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.583, allocations: 6.844 kB / 1.168 GB, free: 203.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.583, allocations: 0 / 1.168 GB, free: 203.6 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002774/1.585, allocations: 0.744 MB / 1.169 GB, free: 203.5 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002884/1.588, allocations: 1.107 MB / 1.17 GB, free: 203 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/1.588, allocations: 96.58 kB / 1.17 GB, free: 202.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/1.588, allocations: 3.906 kB / 1.17 GB, free: 202.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/1.589, allocations: 53.56 kB / 1.17 GB, free: 202.9 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/1.589, allocations: 83.95 kB / 1.17 GB, free: 202.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/1.589, allocations: 12.67 kB / 1.17 GB, free: 202.9 MB / 0.7138 GB Notification: Performance of sort global known variables: time 5.126e-05/1.589, allocations: 100 kB / 1.17 GB, free: 202.9 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.0009593/1.59, allocations: 117.8 kB / 1.17 GB, free: 202.8 MB / 0.7138 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.0004774/1.59, allocations: 253.7 kB / 1.171 GB, free: 202.7 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0004506/1.591, allocations: 343.3 kB / 1.171 GB, free: 202.7 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.591, allocations: 0 / 1.171 GB, free: 202.7 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/1.591, allocations: 207.2 kB / 1.171 GB, free: 202.7 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/1.591, allocations: 52.14 kB / 1.171 GB, free: 202.7 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/1.592, allocations: 307.6 kB / 1.172 GB, free: 202.6 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/1.592, allocations: 0.7873 MB / 1.172 GB, free: 201.9 MB / 0.7138 GB Notification: Performance of SimCode: time 2.81e-07/1.592, allocations: 0 / 1.172 GB, free: 201.9 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)