Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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 8.1.4-maint.8.1.x/package.mo): time 1.58/1.58, allocations: 289.8 MB / 297.1 MB, free: 9.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 184.4 kB / 366.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.1 MB / 0.6256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008752/0.0008753, allocations: 85.3 kB / 0.7396 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.4239/0.4248, allocations: 122.4 MB / 0.8591 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.6503, allocations: 116.3 MB / 0.9726 GB, free: 31.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7899/1.44, allocations: 407.3 MB / 1.37 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/1.441, allocations: 70.45 kB / 1.37 GB, free: 8.773 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0376/1.478, allocations: 18.72 MB / 1.389 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/1.478, allocations: 11.94 kB / 1.389 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/1.478, allocations: 7.906 kB / 1.389 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.09e-05/1.478, allocations: 159.1 kB / 1.389 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/1.478, allocations: 4 kB / 1.389 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/1.478, allocations: 0 / 1.389 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.002e-05/1.478, allocations: 26.89 kB / 1.389 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.685e-05/1.479, allocations: 48.92 kB / 1.389 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/1.479, allocations: 3.938 kB / 1.389 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/1.479, allocations: 0 / 1.389 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/1.479, allocations: 4 kB / 1.389 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/1.479, allocations: 137.2 kB / 1.389 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.839e-05/1.479, allocations: 40.02 kB / 1.389 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/1.479, allocations: 19.83 kB / 1.389 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/1.479, allocations: 0.6075 MB / 1.39 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/1.479, allocations: 42.41 kB / 1.39 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 2.615e-06/1.479, allocations: 3.984 kB / 1.39 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0004667/1.48, allocations: 267.5 kB / 1.39 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/1.48, allocations: 59.34 kB / 1.39 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.191e-05/1.48, allocations: 96.23 kB / 1.39 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/1.48, allocations: 25.7 kB / 1.39 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/1.48, allocations: 88.05 kB / 1.39 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/1.48, allocations: 30.8 kB / 1.39 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/1.48, allocations: 0 / 1.39 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/1.48, allocations: 314 kB / 1.391 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/1.48, allocations: 11.06 kB / 1.391 GB, free: 7.516 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/1.48, allocations: 46.72 kB / 1.391 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/1.48, allocations: 23.3 kB / 1.391 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/1.48, allocations: 0 / 1.391 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001104/1.48, allocations: 83.89 kB / 1.391 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/1.48, allocations: 5.406 kB / 1.391 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/1.48, allocations: 4 kB / 1.391 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/1.48, allocations: 0 / 1.391 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/1.481, allocations: 24.11 kB / 1.391 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.481, allocations: 7.938 kB / 1.391 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/1.481, allocations: 0 / 1.391 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/1.481, allocations: 7.375 kB / 1.391 GB, free: 7.312 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.837e-05/1.481, allocations: 108.1 kB / 1.391 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/1.481, allocations: 3.906 kB / 1.391 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/1.481, allocations: 15.06 kB / 1.391 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/1.481, allocations: 0 / 1.391 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/1.481, allocations: 0 / 1.391 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.481, allocations: 7.938 kB / 1.391 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/1.481, allocations: 156.6 kB / 1.391 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/1.481, allocations: 0 / 1.391 GB, free: 6.988 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/1.481, allocations: 19.17 kB / 1.391 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.481, allocations: 0 / 1.391 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/1.481, allocations: 3.938 kB / 1.391 GB, free: 6.969 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.481, allocations: 4 kB / 1.391 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.481, allocations: 0 / 1.391 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001305/1.481, allocations: 160.8 kB / 1.391 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000236/1.482, allocations: 0.5545 MB / 1.392 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/1.482, allocations: 85.02 kB / 1.392 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/1.482, allocations: 7.984 kB / 1.392 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.482, allocations: 4 kB / 1.392 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/1.482, allocations: 3.062 kB / 1.392 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/1.482, allocations: 4 kB / 1.392 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.545e-05/1.482, allocations: 79.75 kB / 1.392 GB, free: 6.047 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008246/1.483, allocations: 22.42 kB / 1.392 GB, free: 6.031 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001723/1.483, allocations: 139.5 kB / 1.392 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.129e-05/1.483, allocations: 42.34 kB / 1.392 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.483, allocations: 4 kB / 1.392 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/1.483, allocations: 15.19 kB / 1.392 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/1.483, allocations: 7.906 kB / 1.392 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/1.483, allocations: 249.7 kB / 1.392 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/1.484, allocations: 0.7075 MB / 1.393 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of SimCode: time 3.21e-07/1.484, allocations: 0 / 1.393 GB, free: 4.828 MB / 0.9167 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)