Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.004336/0.004336, allocations: 185 kB / 7.462 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7672/0.7672, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009867/0.0009862, allocations: 94.84 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.444/0.445, allocations: 88.42 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.624, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.772/2.396, allocations: 0.6521 GB / 1.285 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/2.397, allocations: 74.52 kB / 1.285 GB, free: 170.1 MB / 0.6823 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.172/2.569, allocations: 64.48 MB / 1.348 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/2.569, allocations: 8 kB / 1.348 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/2.569, allocations: 27.88 kB / 1.348 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/2.57, allocations: 167 kB / 1.349 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/2.57, allocations: 29.7 kB / 1.349 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/2.57, allocations: 4 kB / 1.349 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001543/2.57, allocations: 89.22 kB / 1.349 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/2.57, allocations: 83.31 kB / 1.349 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/2.57, allocations: 0 / 1.349 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/2.57, allocations: 0 / 1.349 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/2.57, allocations: 4 kB / 1.349 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/2.57, allocations: 301.7 kB / 1.349 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/2.57, allocations: 88.72 kB / 1.349 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/2.571, allocations: 59.58 kB / 1.349 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/2.581, allocations: 4.138 MB / 1.353 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/2.581, allocations: 34.19 kB / 1.353 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/2.581, allocations: 0 / 1.353 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0004994/2.582, allocations: 118.6 kB / 1.353 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/2.582, allocations: 55.41 kB / 1.353 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/2.582, allocations: 88.91 kB / 1.354 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/2.582, allocations: 33.64 kB / 1.354 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/2.582, allocations: 87.83 kB / 1.354 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/2.582, allocations: 35.22 kB / 1.354 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/2.582, allocations: 3.938 kB / 1.354 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/2.582, allocations: 326.2 kB / 1.354 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/2.582, allocations: 23.25 kB / 1.354 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/2.582, allocations: 19.25 kB / 1.354 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/2.582, allocations: 28.73 kB / 1.354 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/2.582, allocations: 0 / 1.354 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002849/2.582, allocations: 119.7 kB / 1.354 GB, free: 144 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/2.582, allocations: 12 kB / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/2.582, allocations: 0 / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/2.582, allocations: 0 / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/2.583, allocations: 23.92 kB / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/2.583, allocations: 0 / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/2.583, allocations: 11.92 kB / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/2.583, allocations: 7.906 kB / 1.354 GB, free: 143.9 MB / 0.6823 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 5.372e-05/2.583, allocations: 101 kB / 1.354 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/2.583, allocations: 23.7 kB / 1.354 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/2.583, allocations: 397.8 kB / 1.355 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/2.583, allocations: 7.672 kB / 1.355 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/2.583, allocations: 0 / 1.355 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/2.583, allocations: 4 kB / 1.355 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/2.584, allocations: 238.7 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/2.584, allocations: 8 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/2.584, allocations: 19.98 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/2.584, allocations: 0 / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/2.584, allocations: 7.984 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/2.584, allocations: 0 / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.584, allocations: 3.906 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004263/2.584, allocations: 409.4 kB / 1.355 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005427/2.585, allocations: 0.8034 MB / 1.356 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/2.585, allocations: 104.5 kB / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/2.585, allocations: 0 / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/2.585, allocations: 7.984 kB / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/2.585, allocations: 7.984 kB / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/2.585, allocations: 4 kB / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.828e-05/2.585, allocations: 82.72 kB / 1.356 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002703/2.588, allocations: 412 kB / 1.357 GB, free: 141.6 MB / 0.6823 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.002045/2.59, allocations: 0.9472 MB / 1.358 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001989/2.59, allocations: 160.8 kB / 1.358 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/2.59, allocations: 0 / 1.358 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/2.59, allocations: 165 kB / 1.358 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/2.59, allocations: 7.625 kB / 1.358 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/2.591, allocations: 250.1 kB / 1.358 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/2.591, allocations: 0.7467 MB / 1.359 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/2.591, allocations: 0 / 1.359 GB, free: 139.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)