Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.0.1-maint.8.0.x/package.mo): time 1.422/1.422, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001052/0.001052, allocations: 185.2 kB / 361.1 MB, free: 7.086 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.203/1.203, allocations: 205.1 MB / 0.6195 GB, free: 11.92 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008013/0.0008013, allocations: 84.89 kB / 0.7325 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.215/0.2158, allocations: 121.4 MB / 0.8511 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.7593, allocations: 115.3 MB / 0.9637 GB, free: 77.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.725/1.484, allocations: 426.2 MB / 1.38 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/1.485, allocations: 74.11 kB / 1.38 GB, free: 141.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.04935/1.534, allocations: 25.37 MB / 1.405 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/1.534, allocations: 9.438 kB / 1.405 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/1.534, allocations: 23.8 kB / 1.405 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/1.534, allocations: 215.2 kB / 1.405 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/1.534, allocations: 8 kB / 1.405 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/1.534, allocations: 8 kB / 1.405 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003781/1.535, allocations: 414.8 kB / 1.405 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/1.535, allocations: 214.5 kB / 1.406 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.535, allocations: 3.938 kB / 1.406 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.535, allocations: 4 kB / 1.406 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/1.535, allocations: 8 kB / 1.406 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/1.536, allocations: 0.9896 MB / 1.407 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/1.536, allocations: 134 kB / 1.407 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/1.536, allocations: 56.36 kB / 1.407 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000962/1.537, allocations: 1.936 MB / 1.409 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/1.537, allocations: 36.44 kB / 1.409 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/1.537, allocations: 1.031 kB / 1.409 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004791/1.538, allocations: 128 kB / 1.409 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/1.538, allocations: 63.25 kB / 1.409 GB, free: 116 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/1.538, allocations: 140.3 kB / 1.409 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/1.538, allocations: 25.7 kB / 1.409 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/1.538, allocations: 138.9 kB / 1.409 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/1.538, allocations: 50.23 kB / 1.409 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.538, allocations: 0 / 1.409 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.07e-05/1.538, allocations: 326.2 kB / 1.41 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/1.538, allocations: 27.05 kB / 1.41 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/1.538, allocations: 132.8 kB / 1.41 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/1.538, allocations: 87.36 kB / 1.41 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.539, allocations: 0 / 1.41 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004786/1.539, allocations: 207.7 kB / 1.41 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.539, allocations: 6.344 kB / 1.41 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.539, allocations: 4 kB / 1.41 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.539, allocations: 12.38 kB / 1.41 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/1.539, allocations: 59.91 kB / 1.41 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.539, allocations: 7.938 kB / 1.41 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/1.539, allocations: 19.75 kB / 1.41 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/1.539, allocations: 19.42 kB / 1.41 GB, free: 114.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.887e-05/1.54, allocations: 112.9 kB / 1.41 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/1.54, allocations: 11.81 kB / 1.41 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/1.54, allocations: 189.4 kB / 1.41 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.54, allocations: 7.984 kB / 1.41 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.54, allocations: 4 kB / 1.41 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.54, allocations: 0 / 1.41 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/1.54, allocations: 184.5 kB / 1.411 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.54, allocations: 7.875 kB / 1.411 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/1.54, allocations: 23.98 kB / 1.411 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.54, allocations: 5.375 kB / 1.411 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/1.54, allocations: 3.062 kB / 1.411 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.54, allocations: 0 / 1.411 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.541, allocations: 0 / 1.411 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004088/1.541, allocations: 244.2 kB / 1.411 GB, free: 114 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004803/1.541, allocations: 0.6165 MB / 1.412 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/1.542, allocations: 115.6 kB / 1.412 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/1.542, allocations: 0 / 1.412 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/1.542, allocations: 8 kB / 1.412 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/1.542, allocations: 7.984 kB / 1.412 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.542, allocations: 13.73 kB / 1.412 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.499e-05/1.542, allocations: 103.6 kB / 1.412 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001079/1.543, allocations: 90.16 kB / 1.412 GB, free: 113.1 MB / 0.8542 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003518/1.543, allocations: 223 kB / 1.412 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002194/1.544, allocations: 99.05 kB / 1.412 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.544, allocations: 0 / 1.412 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/1.544, allocations: 42.98 kB / 1.412 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/1.544, allocations: 41.88 kB / 1.412 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/1.544, allocations: 164.1 kB / 1.412 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/1.545, allocations: 0.7428 MB / 1.413 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of SimCode: time 3.51e-07/1.545, allocations: 0 / 1.413 GB, free: 111.8 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)