Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.961/1.961, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 184.2 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.3 MB / 0.7819 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009261/0.0009262, allocations: 102.4 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5099/0.5109, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.7581, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8574/1.616, allocations: 437.7 MB / 1.633 GB, free: 3.152 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/1.616, allocations: 74.2 kB / 1.633 GB, free: 3.113 MB / 1.057 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.05842/1.674, allocations: 26.06 MB / 1.658 GB, free: 13.73 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/1.674, allocations: 8 kB / 1.658 GB, free: 13.72 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/1.674, allocations: 19.81 kB / 1.658 GB, free: 13.7 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/1.675, allocations: 219.2 kB / 1.658 GB, free: 13.45 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/1.675, allocations: 8 kB / 1.658 GB, free: 13.45 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/1.675, allocations: 8 kB / 1.658 GB, free: 13.44 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00047/1.675, allocations: 410.7 kB / 1.659 GB, free: 13.11 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/1.676, allocations: 212.7 kB / 1.659 GB, free: 12.92 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.676, allocations: 0 / 1.659 GB, free: 12.92 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.676, allocations: 4 kB / 1.659 GB, free: 12.92 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/1.676, allocations: 7.984 kB / 1.659 GB, free: 12.91 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.677, allocations: 0.9944 MB / 1.66 GB, free: 11.92 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/1.677, allocations: 140 kB / 1.66 GB, free: 11.8 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/1.677, allocations: 47.3 kB / 1.66 GB, free: 11.76 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/1.678, allocations: 1.94 MB / 1.662 GB, free: 9.5 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.678, allocations: 37.75 kB / 1.662 GB, free: 9.457 MB / 1.089 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/1.678, allocations: 0 / 1.662 GB, free: 9.457 MB / 1.089 GB Notification: Performance of matching and sorting (n=15): time 0.0004968/1.679, allocations: 144.4 kB / 1.662 GB, free: 9.328 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/1.679, allocations: 51.41 kB / 1.662 GB, free: 9.266 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/1.679, allocations: 133.5 kB / 1.662 GB, free: 9.137 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/1.679, allocations: 25.7 kB / 1.663 GB, free: 9.105 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/1.679, allocations: 139.4 kB / 1.663 GB, free: 8.973 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/1.679, allocations: 60.75 kB / 1.663 GB, free: 8.922 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/1.679, allocations: 0 / 1.663 GB, free: 8.922 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.679, allocations: 322 kB / 1.663 GB, free: 8.602 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/1.68, allocations: 33.19 kB / 1.663 GB, free: 8.578 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/1.68, allocations: 123.9 kB / 1.663 GB, free: 8.422 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/1.68, allocations: 81.73 kB / 1.663 GB, free: 8.352 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.68, allocations: 3.938 kB / 1.663 GB, free: 8.348 MB / 1.089 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004744/1.68, allocations: 208.4 kB / 1.663 GB, free: 8.156 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.68, allocations: 8.469 kB / 1.663 GB, free: 8.148 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.68, allocations: 4 kB / 1.663 GB, free: 8.145 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.681, allocations: 8 kB / 1.663 GB, free: 8.137 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/1.681, allocations: 55.91 kB / 1.664 GB, free: 8.082 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.681, allocations: 7.938 kB / 1.664 GB, free: 8.074 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/1.681, allocations: 23.73 kB / 1.664 GB, free: 8.051 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/1.681, allocations: 19.3 kB / 1.664 GB, free: 8.035 MB / 1.089 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 8.553e-05/1.681, allocations: 115.6 kB / 1.664 GB, free: 7.918 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/1.681, allocations: 15.81 kB / 1.664 GB, free: 7.902 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/1.682, allocations: 180.8 kB / 1.664 GB, free: 7.742 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/1.682, allocations: 7.938 kB / 1.664 GB, free: 7.734 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.682, allocations: 0 / 1.664 GB, free: 7.734 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.682, allocations: 0 / 1.664 GB, free: 7.734 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/1.682, allocations: 187.2 kB / 1.664 GB, free: 7.527 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/1.682, allocations: 0 / 1.664 GB, free: 7.527 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/1.682, allocations: 28.48 kB / 1.664 GB, free: 7.5 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.682, allocations: 0 / 1.664 GB, free: 7.5 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/1.682, allocations: 12.52 kB / 1.664 GB, free: 7.488 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.682, allocations: 4 kB / 1.664 GB, free: 7.484 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/1.682, allocations: 0 / 1.664 GB, free: 7.484 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004355/1.682, allocations: 240.9 kB / 1.664 GB, free: 7.254 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005284/1.683, allocations: 0.6153 MB / 1.665 GB, free: 6.648 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/1.683, allocations: 116.4 kB / 1.665 GB, free: 6.523 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/1.683, allocations: 4 kB / 1.665 GB, free: 6.52 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/1.683, allocations: 19.89 kB / 1.665 GB, free: 6.5 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/1.683, allocations: 11.3 kB / 1.665 GB, free: 6.492 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/1.683, allocations: 7.984 kB / 1.665 GB, free: 6.484 MB / 1.089 GB Notification: Performance of sort global known variables: time 6.253e-05/1.683, allocations: 106.2 kB / 1.665 GB, free: 6.391 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001061/1.684, allocations: 96.55 kB / 1.665 GB, free: 6.312 MB / 1.089 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.0003529/1.685, allocations: 214.3 kB / 1.665 GB, free: 6.098 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0002272/1.685, allocations: 107.2 kB / 1.666 GB, free: 6.008 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.685, allocations: 8 kB / 1.666 GB, free: 6 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/1.685, allocations: 42.23 kB / 1.666 GB, free: 5.965 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/1.685, allocations: 30.52 kB / 1.666 GB, free: 5.941 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/1.686, allocations: 166.7 kB / 1.666 GB, free: 5.77 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/1.686, allocations: 0.7476 MB / 1.667 GB, free: 4.992 MB / 1.089 GB Notification: Performance of SimCode: time 2.8e-07/1.686, allocations: 0 / 1.667 GB, free: 4.992 MB / 1.089 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)