Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_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.003047/0.003047, allocations: 183 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7528/0.7528, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.564/1.564, 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.0009662/0.0009662, allocations: 101.9 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.427/0.428, allocations: 88.41 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.5895, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.88, allocations: 422.2 MB / 1.046 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/1.881, allocations: 69.33 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.4791/2.36, allocations: 189.3 MB / 1.23 GB, free: 19.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.887e-05/2.36, allocations: 8 kB / 1.23 GB, free: 19.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/2.362, allocations: 95.7 kB / 1.231 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/2.362, allocations: 230.8 kB / 1.231 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/2.362, allocations: 7.938 kB / 1.231 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/2.362, allocations: 15.94 kB / 1.231 GB, free: 19.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007769/2.363, allocations: 403.4 kB / 1.231 GB, free: 18.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/2.363, allocations: 204.8 kB / 1.231 GB, free: 18.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/2.363, allocations: 4 kB / 1.231 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/2.363, allocations: 3.906 kB / 1.231 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/2.363, allocations: 4 kB / 1.231 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/2.365, allocations: 0.8593 MB / 1.232 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/2.365, allocations: 142.3 kB / 1.232 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/2.365, allocations: 64.84 kB / 1.232 GB, free: 17.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.446/2.811, allocations: 48.33 MB / 1.28 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/2.811, allocations: 37.38 kB / 1.28 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/2.811, allocations: 0 / 1.28 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001006/2.812, allocations: 228.1 kB / 1.28 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/2.812, allocations: 59.22 kB / 1.28 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/2.813, allocations: 114.6 kB / 1.28 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/2.813, allocations: 25.7 kB / 1.28 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/2.813, allocations: 105.5 kB / 1.28 GB, free: 211.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/2.813, allocations: 82.95 kB / 1.28 GB, free: 211.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/2.813, allocations: 0 / 1.28 GB, free: 211.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/2.813, allocations: 329 kB / 1.281 GB, free: 211 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/2.813, allocations: 38.25 kB / 1.281 GB, free: 211 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/2.813, allocations: 93.73 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/2.813, allocations: 66.81 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/2.813, allocations: 6.844 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007715/2.814, allocations: 262.8 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/2.814, allocations: 3.625 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/2.814, allocations: 3.906 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/2.814, allocations: 7.359 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/2.814, allocations: 57.88 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/2.814, allocations: 3.656 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.589e-05/2.814, allocations: 14.03 kB / 1.281 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/2.814, allocations: 19.12 kB / 1.281 GB, free: 210.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 6.803e-05/2.814, allocations: 110.8 kB / 1.281 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/2.815, allocations: 68.27 kB / 1.281 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/2.816, allocations: 0.7979 MB / 1.282 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/2.816, allocations: 10.91 kB / 1.282 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/2.816, allocations: 3.625 kB / 1.282 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/2.816, allocations: 0 / 1.282 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/2.817, allocations: 1.151 MB / 1.283 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/2.817, allocations: 0 / 1.283 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/2.817, allocations: 43.48 kB / 1.283 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/2.817, allocations: 3.625 kB / 1.283 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/2.817, allocations: 3 kB / 1.283 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/2.818, allocations: 7.234 kB / 1.283 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.818, allocations: 0 / 1.283 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001213/2.819, allocations: 0.7581 MB / 1.284 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001452/2.82, allocations: 1.186 MB / 1.285 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/2.82, allocations: 140.5 kB / 1.285 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/2.82, allocations: 0 / 1.285 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/2.821, allocations: 18.66 kB / 1.285 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/2.821, allocations: 20.64 kB / 1.285 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/2.821, allocations: 10.22 kB / 1.285 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.354e-05/2.821, allocations: 99.28 kB / 1.285 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008961/2.83, allocations: 1.88 MB / 1.287 GB, free: 209.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.01413/2.844, allocations: 2.684 MB / 1.29 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006319/2.844, allocations: 345.5 kB / 1.29 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/2.844, allocations: 4.125 kB / 1.29 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/2.845, allocations: 335.1 kB / 1.291 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/2.845, allocations: 43.83 kB / 1.291 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/2.846, allocations: 495.1 kB / 1.291 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/2.846, allocations: 0.8114 MB / 1.292 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of SimCode: time 5.11e-07/2.846, allocations: 0 / 1.292 GB, free: 208.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)