Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.437/2.437, allocations: 284.8 MB / 292.1 MB, free: 10.82 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.003687/0.003686, allocations: 185.2 kB / 360.3 MB, free: 7.559 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.958/1.958, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001278/0.001278, allocations: 91.23 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2861/0.2874, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6389/0.9264, allocations: 115.2 MB / 0.9627 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.952, allocations: 426.1 MB / 1.379 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.953, allocations: 75.44 kB / 1.379 GB, free: 142.7 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.09113/2.044, allocations: 25.38 MB / 1.404 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/2.044, allocations: 8.5 kB / 1.404 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/2.044, allocations: 24.8 kB / 1.404 GB, free: 122 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/2.044, allocations: 207.1 kB / 1.404 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/2.044, allocations: 4 kB / 1.404 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/2.044, allocations: 8 kB / 1.404 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000622/2.045, allocations: 413.2 kB / 1.404 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/2.045, allocations: 220.7 kB / 1.404 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/2.045, allocations: 3.938 kB / 1.404 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/2.045, allocations: 0 / 1.404 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/2.045, allocations: 11.98 kB / 1.405 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/2.047, allocations: 0.9837 MB / 1.405 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/2.047, allocations: 145.6 kB / 1.406 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/2.047, allocations: 56.36 kB / 1.406 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/2.049, allocations: 1.934 MB / 1.408 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/2.049, allocations: 34.56 kB / 1.408 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/2.049, allocations: 0 / 1.408 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0007305/2.05, allocations: 132.7 kB / 1.408 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/2.05, allocations: 55.31 kB / 1.408 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/2.05, allocations: 133.3 kB / 1.408 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/2.05, allocations: 25.7 kB / 1.408 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/2.05, allocations: 143.3 kB / 1.408 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/2.05, allocations: 51.05 kB / 1.408 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/2.05, allocations: 0 / 1.408 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.662e-05/2.05, allocations: 330 kB / 1.408 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/2.05, allocations: 27.55 kB / 1.408 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/2.05, allocations: 131.7 kB / 1.409 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/2.051, allocations: 83.17 kB / 1.409 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/2.051, allocations: 0 / 1.409 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007884/2.051, allocations: 215.3 kB / 1.409 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/2.052, allocations: 4 kB / 1.409 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/2.052, allocations: 4 kB / 1.409 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/2.052, allocations: 11.91 kB / 1.409 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/2.052, allocations: 56.66 kB / 1.409 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/2.052, allocations: 5.312 kB / 1.409 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/2.052, allocations: 19.75 kB / 1.409 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/2.052, allocations: 15.72 kB / 1.409 GB, free: 116.4 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 9.404e-05/2.052, allocations: 120.6 kB / 1.409 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/2.052, allocations: 15.8 kB / 1.409 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008449/2.053, allocations: 184.2 kB / 1.409 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/2.053, allocations: 3.984 kB / 1.409 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.053, allocations: 4 kB / 1.409 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/2.053, allocations: 0 / 1.409 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/2.054, allocations: 185.1 kB / 1.409 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/2.054, allocations: 5.344 kB / 1.409 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/2.054, allocations: 33.86 kB / 1.409 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/2.054, allocations: 0 / 1.409 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/2.054, allocations: 0 / 1.409 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/2.054, allocations: 0 / 1.409 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.054, allocations: 4 kB / 1.409 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006277/2.054, allocations: 237.3 kB / 1.41 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007005/2.055, allocations: 0.6151 MB / 1.41 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/2.055, allocations: 119.9 kB / 1.41 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/2.055, allocations: 3.984 kB / 1.41 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/2.056, allocations: 4 kB / 1.41 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/2.056, allocations: 7.984 kB / 1.41 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/2.056, allocations: 11.98 kB / 1.41 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.611e-05/2.056, allocations: 105 kB / 1.411 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001399/2.057, allocations: 94.22 kB / 1.411 GB, free: 114.7 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.0004064/2.058, allocations: 209.4 kB / 1.411 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003369/2.058, allocations: 96.14 kB / 1.411 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/2.058, allocations: 8 kB / 1.411 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/2.058, allocations: 43.3 kB / 1.411 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/2.059, allocations: 41.19 kB / 1.411 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007139/2.059, allocations: 170.8 kB / 1.411 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/2.06, allocations: 0.7549 MB / 1.412 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.322e-06/2.06, allocations: 0 / 1.412 GB, free: 113.4 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)