Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",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/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 191.7 kB / 7.808 MB, free: 2.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4639/0.4639, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.4 MB / 342.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009953/0.000995, allocations: 102.1 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1755/0.1766, allocations: 78.44 MB / 493.9 MB, free: 7.953 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.5629, allocations: 72.29 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9101/1.473, allocations: 412.4 MB / 0.9557 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.473, allocations: 74.73 kB / 0.9558 GB, free: 209.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.4972/1.971, allocations: 189.3 MB / 1.141 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.971, allocations: 8 kB / 1.141 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/1.972, allocations: 91.7 kB / 1.141 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/1.972, allocations: 222.9 kB / 1.141 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.972, allocations: 4 kB / 1.141 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/1.972, allocations: 8 kB / 1.141 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004806/1.973, allocations: 403.7 kB / 1.141 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/1.973, allocations: 216.4 kB / 1.142 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.973, allocations: 0.8438 kB / 1.142 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/1.973, allocations: 0 / 1.142 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/1.973, allocations: 4 kB / 1.142 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009488/1.974, allocations: 0.8632 MB / 1.142 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/1.974, allocations: 134.5 kB / 1.142 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/1.975, allocations: 64.8 kB / 1.143 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1075/2.082, allocations: 48.33 MB / 1.19 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/2.082, allocations: 34.56 kB / 1.19 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/2.082, allocations: 4.844 kB / 1.19 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0009581/2.083, allocations: 237.9 kB / 1.19 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/2.083, allocations: 59.33 kB / 1.19 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/2.083, allocations: 110.6 kB / 1.19 GB, free: 4.125 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/2.083, allocations: 25.7 kB / 1.19 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/2.083, allocations: 108.4 kB / 1.19 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/2.083, allocations: 82.75 kB / 1.19 GB, free: 3.902 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/2.083, allocations: 0 / 1.19 GB, free: 3.902 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/2.083, allocations: 326.7 kB / 1.191 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/2.083, allocations: 49.67 kB / 1.191 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/2.084, allocations: 85.14 kB / 1.191 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/2.084, allocations: 71.89 kB / 1.191 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/2.084, allocations: 4 kB / 1.191 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000806/2.085, allocations: 250.8 kB / 1.191 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/2.085, allocations: 4 kB / 1.191 GB, free: 3.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/2.085, allocations: 0 / 1.191 GB, free: 3.098 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/2.085, allocations: 4 kB / 1.191 GB, free: 3.094 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/2.085, allocations: 55.91 kB / 1.191 GB, free: 3.039 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/2.085, allocations: 3.906 kB / 1.191 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/2.085, allocations: 20 kB / 1.191 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/2.085, allocations: 15.98 kB / 1.191 GB, free: 3 MB / 0.6042 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 (30): * Single equations (assignments): 30 * 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 6.639e-05/2.085, allocations: 104.9 kB / 1.191 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/2.086, allocations: 67.73 kB / 1.191 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/2.087, allocations: 0.8076 MB / 1.192 GB, free: 2.039 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/2.087, allocations: 15.97 kB / 1.192 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/2.087, allocations: 0 / 1.192 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/2.087, allocations: 0 / 1.192 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/2.088, allocations: 1.158 MB / 1.193 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/2.088, allocations: 0 / 1.193 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/2.088, allocations: 51.84 kB / 1.193 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/2.088, allocations: 0 / 1.193 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/2.088, allocations: 8 kB / 1.193 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/2.088, allocations: 4 kB / 1.193 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/2.088, allocations: 0 / 1.193 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001181/2.089, allocations: 0.75 MB / 1.194 GB, free: 0 / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2156/2.305, allocations: 1.189 MB / 1.195 GB, free: 186.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/2.305, allocations: 144.4 kB / 1.195 GB, free: 186.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/2.305, allocations: 0 / 1.195 GB, free: 186.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/2.305, allocations: 13.22 kB / 1.195 GB, free: 186.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/2.305, allocations: 18.12 kB / 1.195 GB, free: 186.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/2.305, allocations: 14.77 kB / 1.195 GB, free: 186.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.091e-05/2.305, allocations: 95.38 kB / 1.196 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008273/2.314, allocations: 1.878 MB / 1.197 GB, free: 186.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01486/2.329, allocations: 2.689 MB / 1.2 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005493/2.329, allocations: 348.8 kB / 1.2 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/2.329, allocations: 0 / 1.2 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/2.33, allocations: 330.9 kB / 1.201 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/2.33, allocations: 47.17 kB / 1.201 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/2.331, allocations: 0.4893 MB / 1.201 GB, free: 186.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/2.331, allocations: 0.8139 MB / 1.202 GB, free: 185.4 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/2.331, allocations: 3.656 kB / 1.202 GB, free: 185.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)