Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 6.984 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.0009886/0.0009887, allocations: 189.2 kB / 316 MB, free: 3.5 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.271/1.271, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0008226/0.0008226, allocations: 86.22 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3892/0.3901, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.5744, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.66, allocations: 421 MB / 1.296 GB, free: 326.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/1.66, allocations: 66.44 kB / 1.296 GB, free: 326.3 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.04932/1.709, allocations: 25.39 MB / 1.321 GB, free: 301.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.709, allocations: 8 kB / 1.321 GB, free: 301.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/1.71, allocations: 19.81 kB / 1.321 GB, free: 301.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/1.71, allocations: 206.8 kB / 1.321 GB, free: 301.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/1.71, allocations: 12 kB / 1.321 GB, free: 301.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/1.71, allocations: 8 kB / 1.321 GB, free: 301.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000383/1.71, allocations: 408.2 kB / 1.321 GB, free: 300.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/1.71, allocations: 216.7 kB / 1.321 GB, free: 300.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.71, allocations: 0 / 1.321 GB, free: 300.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/1.711, allocations: 7.906 kB / 1.321 GB, free: 300.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/1.711, allocations: 8 kB / 1.321 GB, free: 300.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/1.711, allocations: 0.9769 MB / 1.322 GB, free: 299.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/1.711, allocations: 144 kB / 1.323 GB, free: 299.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/1.712, allocations: 56.8 kB / 1.323 GB, free: 299.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009344/1.713, allocations: 1.938 MB / 1.325 GB, free: 297.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/1.713, allocations: 34.56 kB / 1.325 GB, free: 297.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/1.713, allocations: 0 / 1.325 GB, free: 297.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.000451/1.713, allocations: 136.9 kB / 1.325 GB, free: 296.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/1.713, allocations: 59.41 kB / 1.325 GB, free: 296.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/1.713, allocations: 138.7 kB / 1.325 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/1.713, allocations: 29.64 kB / 1.325 GB, free: 296.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/1.713, allocations: 139.8 kB / 1.325 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/1.713, allocations: 51.2 kB / 1.325 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/1.713, allocations: 0 / 1.325 GB, free: 296.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.992e-05/1.713, allocations: 322.8 kB / 1.325 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/1.713, allocations: 28 kB / 1.325 GB, free: 296.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/1.713, allocations: 137.7 kB / 1.326 GB, free: 296 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/1.714, allocations: 75.88 kB / 1.326 GB, free: 295.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.714, allocations: 0 / 1.326 GB, free: 295.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004222/1.714, allocations: 217.1 kB / 1.326 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.714, allocations: 6.656 kB / 1.326 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.714, allocations: 4 kB / 1.326 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/1.714, allocations: 4.469 kB / 1.326 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.714, allocations: 63.89 kB / 1.326 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/1.714, allocations: 11.94 kB / 1.326 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/1.714, allocations: 19.75 kB / 1.326 GB, free: 295.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/1.715, allocations: 12 kB / 1.326 GB, free: 295.6 MB / 0.8698 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 5.672e-05/1.715, allocations: 112.9 kB / 1.326 GB, free: 295.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/1.715, allocations: 15.81 kB / 1.326 GB, free: 295.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/1.715, allocations: 181.8 kB / 1.326 GB, free: 295.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.715, allocations: 11.91 kB / 1.326 GB, free: 295.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.715, allocations: 0 / 1.326 GB, free: 295.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.715, allocations: 3.984 kB / 1.326 GB, free: 295.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/1.715, allocations: 178.1 kB / 1.326 GB, free: 295 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.715, allocations: 0 / 1.326 GB, free: 295 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/1.715, allocations: 35.91 kB / 1.326 GB, free: 295 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.715, allocations: 0 / 1.326 GB, free: 295 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/1.715, allocations: 4 kB / 1.326 GB, free: 295 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.715, allocations: 4 kB / 1.326 GB, free: 295 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.715, allocations: 0 / 1.326 GB, free: 295 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003736/1.716, allocations: 247 kB / 1.327 GB, free: 294.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004258/1.716, allocations: 0.609 MB / 1.327 GB, free: 294.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/1.716, allocations: 112.9 kB / 1.327 GB, free: 294 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/1.716, allocations: 7.906 kB / 1.327 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/1.717, allocations: 8 kB / 1.327 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/1.717, allocations: 11.98 kB / 1.327 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/1.717, allocations: 11.92 kB / 1.327 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.463e-05/1.717, allocations: 103 kB / 1.328 GB, free: 293.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009171/1.718, allocations: 87.92 kB / 1.328 GB, free: 293.7 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 (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.0002667/1.718, allocations: 233.1 kB / 1.328 GB, free: 293.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001821/1.718, allocations: 95.86 kB / 1.328 GB, free: 293.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.718, allocations: 0 / 1.328 GB, free: 293.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/1.718, allocations: 43.92 kB / 1.328 GB, free: 293.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/1.718, allocations: 36.78 kB / 1.328 GB, free: 293.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/1.719, allocations: 160.7 kB / 1.328 GB, free: 293.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/1.719, allocations: 0.7516 MB / 1.329 GB, free: 292.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/1.719, allocations: 0 / 1.329 GB, free: 292.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)