Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",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.001177/0.001177, allocations: 182.4 kB / 7.799 MB, free: 1.184 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4675/0.4675, allocations: 90.85 MB / 99.07 MB, free: 8.965 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.4 MB / 342.7 MB, free: 4.637 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 97.97 kB / 415.5 MB, free: 14.24 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1671/0.1681, allocations: 78.45 MB / 493.9 MB, free: 7.477 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.5819, allocations: 72.31 MB / 0.553 GB, free: 61.65 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.693, allocations: 0.6425 GB / 1.195 GB, free: 13.59 MB / 0.5964 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.693, allocations: 69.31 kB / 1.196 GB, free: 13.55 MB / 0.5964 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.4395/2.132, allocations: 64.47 MB / 1.259 GB, free: 170 MB / 0.5964 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/2.132, allocations: 11.91 kB / 1.259 GB, free: 170 MB / 0.5964 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005164/2.133, allocations: 23.44 kB / 1.259 GB, free: 170 MB / 0.5964 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/2.133, allocations: 174.7 kB / 1.259 GB, free: 169.8 MB / 0.5964 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/2.133, allocations: 29.61 kB / 1.259 GB, free: 169.8 MB / 0.5964 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/2.133, allocations: 11.88 kB / 1.259 GB, free: 169.7 MB / 0.5964 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001921/2.133, allocations: 86.88 kB / 1.259 GB, free: 169.7 MB / 0.5964 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/2.134, allocations: 68.78 kB / 1.259 GB, free: 169.7 MB / 0.5964 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/2.134, allocations: 2.062 kB / 1.259 GB, free: 169.7 MB / 0.5964 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/2.134, allocations: 0 / 1.259 GB, free: 169.7 MB / 0.5964 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/2.134, allocations: 0 / 1.259 GB, free: 169.7 MB / 0.5964 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/2.134, allocations: 314.8 kB / 1.259 GB, free: 169.4 MB / 0.5964 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/2.134, allocations: 97.73 kB / 1.259 GB, free: 169.4 MB / 0.5964 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.613e-05/2.134, allocations: 52.3 kB / 1.259 GB, free: 169.3 MB / 0.5964 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/2.146, allocations: 4.131 MB / 1.263 GB, free: 167.4 MB / 0.5964 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/2.146, allocations: 38.5 kB / 1.263 GB, free: 167.3 MB / 0.5964 GB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/2.146, allocations: 0 / 1.263 GB, free: 167.3 MB / 0.5964 GB Notification: Performance of matching and sorting (n=13): time 0.000529/2.147, allocations: 124 kB / 1.264 GB, free: 167.3 MB / 0.5964 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/2.147, allocations: 51.41 kB / 1.264 GB, free: 167.2 MB / 0.5964 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/2.147, allocations: 96.95 kB / 1.264 GB, free: 167.1 MB / 0.5964 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/2.147, allocations: 29.55 kB / 1.264 GB, free: 167.1 MB / 0.5964 GB Notification: Performance of collectInitialEqns (initialization): time 1.933e-05/2.147, allocations: 84.11 kB / 1.264 GB, free: 167 MB / 0.5964 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/2.147, allocations: 47.08 kB / 1.264 GB, free: 167 MB / 0.5964 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/2.147, allocations: 0 / 1.264 GB, free: 167 MB / 0.5964 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/2.147, allocations: 310.8 kB / 1.264 GB, free: 166.7 MB / 0.5964 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-05/2.147, allocations: 23.88 kB / 1.264 GB, free: 166.7 MB / 0.5964 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.258e-05/2.147, allocations: 23.45 kB / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/2.147, allocations: 27.64 kB / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/2.147, allocations: 4 kB / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003333/2.148, allocations: 119.4 kB / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/2.148, allocations: 9.5 kB / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/2.148, allocations: 0 / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/2.148, allocations: 0 / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/2.148, allocations: 27.58 kB / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/2.148, allocations: 3.969 kB / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/2.148, allocations: 7.516 kB / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/2.148, allocations: 3.969 kB / 1.264 GB, free: 166.6 MB / 0.5964 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.383e-05/2.148, allocations: 105 kB / 1.264 GB, free: 166.5 MB / 0.5964 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/2.148, allocations: 26.95 kB / 1.264 GB, free: 166.4 MB / 0.5964 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/2.149, allocations: 389.8 kB / 1.265 GB, free: 166.3 MB / 0.5964 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/2.149, allocations: 7.578 kB / 1.265 GB, free: 166.3 MB / 0.5964 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/2.149, allocations: 0 / 1.265 GB, free: 166.3 MB / 0.5964 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/2.149, allocations: 6.25 kB / 1.265 GB, free: 166.3 MB / 0.5964 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/2.149, allocations: 245.1 kB / 1.265 GB, free: 166.1 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/2.149, allocations: 3.938 kB / 1.265 GB, free: 166.1 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/2.149, allocations: 19.64 kB / 1.265 GB, free: 166.1 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/2.149, allocations: 0 / 1.265 GB, free: 166.1 MB / 0.5964 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/2.149, allocations: 3.969 kB / 1.265 GB, free: 166.1 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/2.149, allocations: 6.094 kB / 1.265 GB, free: 166.1 MB / 0.5964 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/2.149, allocations: 0 / 1.265 GB, free: 166.1 MB / 0.5964 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004756/2.15, allocations: 422.6 kB / 1.266 GB, free: 165.8 MB / 0.5964 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005916/2.15, allocations: 0.7937 MB / 1.266 GB, free: 165.2 MB / 0.5964 GB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/2.15, allocations: 104.1 kB / 1.266 GB, free: 165.1 MB / 0.5964 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/2.15, allocations: 3.969 kB / 1.266 GB, free: 165.1 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/2.151, allocations: 3.969 kB / 1.266 GB, free: 165.1 MB / 0.5964 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/2.151, allocations: 7.625 kB / 1.266 GB, free: 165.1 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/2.151, allocations: 12.22 kB / 1.266 GB, free: 165.1 MB / 0.5964 GB Notification: Performance of sort global known variables: time 2.171e-05/2.151, allocations: 79.28 kB / 1.267 GB, free: 165 MB / 0.5964 GB Notification: Performance of remove unused functions: time 0.003187/2.154, allocations: 407.7 kB / 1.267 GB, free: 164.9 MB / 0.5964 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003977/2.158, allocations: 0.9323 MB / 1.268 GB, free: 164.6 MB / 0.5964 GB Notification: Performance of simCode: created initialization part: time 0.0002909/2.158, allocations: 172 kB / 1.268 GB, free: 164.6 MB / 0.5964 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/2.158, allocations: 0 / 1.268 GB, free: 164.6 MB / 0.5964 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/2.158, allocations: 160.6 kB / 1.268 GB, free: 164.5 MB / 0.5964 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/2.159, allocations: 11.55 kB / 1.268 GB, free: 164.5 MB / 0.5964 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/2.159, allocations: 267.5 kB / 1.268 GB, free: 164.3 MB / 0.5964 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/2.159, allocations: 0.7416 MB / 1.269 GB, free: 163.6 MB / 0.5964 GB Notification: Performance of SimCode: time 4.21e-07/2.159, allocations: 0 / 1.269 GB, free: 163.6 MB / 0.5964 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)