Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_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.005939/0.00594, allocations: 182.5 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7375/0.7375, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.716/1.716, allocations: 221.3 MB / 395 MB, free: 10.2 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.001152/0.001152, allocations: 97.73 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5499/0.5511, allocations: 88.41 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.7714, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.201/2.972, allocations: 0.6521 GB / 1.285 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/2.973, allocations: 69.2 kB / 1.285 GB, free: 170.3 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.205/3.178, allocations: 64.48 MB / 1.348 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/3.178, allocations: 8 kB / 1.348 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/3.178, allocations: 27.88 kB / 1.348 GB, free: 150 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/3.179, allocations: 171 kB / 1.349 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/3.179, allocations: 29.7 kB / 1.349 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/3.179, allocations: 4 kB / 1.349 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002927/3.179, allocations: 89.92 kB / 1.349 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/3.179, allocations: 79.8 kB / 1.349 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/3.179, allocations: 0 / 1.349 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/3.179, allocations: 0 / 1.349 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/3.179, allocations: 4 kB / 1.349 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/3.18, allocations: 295.7 kB / 1.349 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/3.18, allocations: 97.58 kB / 1.349 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.929e-05/3.181, allocations: 51.92 kB / 1.349 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01467/3.195, allocations: 4.144 MB / 1.353 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.962e-05/3.195, allocations: 34.55 kB / 1.353 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 5.891e-06/3.195, allocations: 0 / 1.353 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0008267/3.196, allocations: 108.9 kB / 1.353 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/3.196, allocations: 55.41 kB / 1.353 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/3.196, allocations: 108.8 kB / 1.354 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/3.196, allocations: 25.7 kB / 1.354 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/3.196, allocations: 84.14 kB / 1.354 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/3.197, allocations: 39.16 kB / 1.354 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/3.197, allocations: 0 / 1.354 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/3.197, allocations: 322.7 kB / 1.354 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.724e-05/3.197, allocations: 27.48 kB / 1.354 GB, free: 144 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/3.197, allocations: 27.75 kB / 1.354 GB, free: 144 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/3.197, allocations: 23.73 kB / 1.354 GB, free: 144 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/3.197, allocations: 0 / 1.354 GB, free: 144 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003858/3.197, allocations: 121.1 kB / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/3.197, allocations: 8 kB / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/3.197, allocations: 4 kB / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/3.197, allocations: 0 / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/3.198, allocations: 19.98 kB / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/3.198, allocations: 4 kB / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/3.198, allocations: 3.938 kB / 1.354 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/3.198, 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 8.281e-05/3.198, allocations: 108.9 kB / 1.354 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/3.198, allocations: 23.83 kB / 1.354 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/3.199, allocations: 396.5 kB / 1.355 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/3.199, allocations: 3.75 kB / 1.355 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/3.199, allocations: 4 kB / 1.355 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/3.199, allocations: 3.984 kB / 1.355 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/3.199, allocations: 239.9 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/3.199, allocations: 4 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/3.199, allocations: 27.92 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/3.199, allocations: 4 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/3.199, allocations: 0 / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/3.199, allocations: 0 / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/3.199, allocations: 3.906 kB / 1.355 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005421/3.2, allocations: 411.9 kB / 1.355 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000699/3.2, allocations: 0.8038 MB / 1.356 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/3.2, allocations: 104.7 kB / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/3.2, allocations: 0 / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/3.201, allocations: 4 kB / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/3.201, allocations: 7.984 kB / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/3.201, allocations: 7.984 kB / 1.356 GB, free: 142 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.805e-05/3.201, allocations: 78.41 kB / 1.356 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003699/3.204, allocations: 418.4 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.005368/3.21, allocations: 0.9387 MB / 1.358 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003645/3.21, allocations: 162.8 kB / 1.358 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/3.21, allocations: 3.938 kB / 1.358 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/3.21, allocations: 160.9 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.000361/3.211, allocations: 7.984 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.0005651/3.211, allocations: 253.7 kB / 1.358 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/3.212, allocations: 0.7395 MB / 1.359 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/3.212, allocations: 0 / 1.359 GB, free: 139.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)