Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_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.003528/0.003528, allocations: 179.8 kB / 7.458 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.685/0.685, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.661/1.661, 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.001304/0.001304, allocations: 114.2 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.574/0.5753, allocations: 88.41 MB / 0.5529 GB, free: 89.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.7967, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.572/2.369, allocations: 422.2 MB / 1.046 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004497/2.369, allocations: 77.31 kB / 1.046 GB, free: 208.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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.505/2.874, allocations: 189.2 MB / 1.23 GB, free: 19.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/2.874, allocations: 8 kB / 1.23 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/2.875, allocations: 91.7 kB / 1.231 GB, free: 19.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/2.875, allocations: 230.8 kB / 1.231 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/2.876, allocations: 7.938 kB / 1.231 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/2.876, allocations: 15.92 kB / 1.231 GB, free: 19.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000489/2.876, allocations: 403.4 kB / 1.231 GB, free: 18.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/2.876, allocations: 204.8 kB / 1.231 GB, free: 18.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/2.876, allocations: 0 / 1.231 GB, free: 18.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/2.876, allocations: 3.906 kB / 1.231 GB, free: 18.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/2.876, allocations: 7.984 kB / 1.231 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008541/2.877, allocations: 0.8555 MB / 1.232 GB, free: 17.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/2.877, allocations: 142.3 kB / 1.232 GB, free: 17.47 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/2.878, allocations: 64.84 kB / 1.232 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5595/3.437, allocations: 48.33 MB / 1.28 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/3.437, allocations: 38.47 kB / 1.28 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 3.546e-06/3.437, allocations: 1.031 kB / 1.28 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001283/3.438, allocations: 227.6 kB / 1.28 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/3.439, allocations: 56.22 kB / 1.28 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/3.439, allocations: 116.6 kB / 1.28 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/3.439, allocations: 27.58 kB / 1.28 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/3.439, allocations: 107.9 kB / 1.28 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/3.439, allocations: 80.31 kB / 1.28 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/3.439, allocations: 0 / 1.28 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.264e-05/3.439, allocations: 332.8 kB / 1.281 GB, free: 212 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-05/3.439, allocations: 39.84 kB / 1.281 GB, free: 212 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/3.439, allocations: 91.5 kB / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/3.439, allocations: 72.8 kB / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/3.439, allocations: 0 / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008227/3.44, allocations: 257.8 kB / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/3.44, allocations: 11.02 kB / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/3.44, allocations: 3.906 kB / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/3.44, allocations: 3.812 kB / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/3.441, allocations: 53.06 kB / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/3.441, allocations: 6.406 kB / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/3.441, allocations: 14.8 kB / 1.281 GB, free: 211.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/3.441, allocations: 10.16 kB / 1.281 GB, free: 211.9 MB / 0.6823 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 0.0001006/3.441, allocations: 112.7 kB / 1.281 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/3.441, allocations: 65.09 kB / 1.281 GB, free: 211.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/3.442, allocations: 0.8103 MB / 1.282 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/3.442, allocations: 11.05 kB / 1.282 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/3.442, allocations: 0 / 1.282 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/3.442, allocations: 4.938 kB / 1.282 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/3.444, allocations: 1.148 MB / 1.283 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/3.444, allocations: 0 / 1.283 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/3.444, allocations: 45.59 kB / 1.283 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/3.444, allocations: 0 / 1.283 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/3.444, allocations: 10.12 kB / 1.283 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/3.444, allocations: 3.062 kB / 1.283 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/3.444, allocations: 0 / 1.283 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001265/3.445, allocations: 0.7506 MB / 1.284 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001658/3.447, allocations: 1.19 MB / 1.285 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/3.447, allocations: 140.4 kB / 1.285 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/3.447, allocations: 0 / 1.285 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/3.447, allocations: 15.34 kB / 1.285 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/3.447, allocations: 17.69 kB / 1.285 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/3.447, allocations: 17.75 kB / 1.285 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.816e-05/3.447, allocations: 86.66 kB / 1.285 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01072/3.458, allocations: 1.892 MB / 1.287 GB, free: 210.5 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: 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.02119/3.479, allocations: 2.686 MB / 1.29 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008023/3.48, allocations: 347.3 kB / 1.29 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/3.48, allocations: 4.75 kB / 1.29 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004953/3.481, allocations: 331.4 kB / 1.291 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/3.482, allocations: 43.59 kB / 1.291 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/3.483, allocations: 493 kB / 1.291 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/3.483, allocations: 0.8133 MB / 1.292 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.213e-06/3.483, allocations: 0 / 1.292 GB, free: 209.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)