Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7029/0.7029, allocations: 141.8 MB / 149.1 MB, free: 4.504 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 182.4 kB / 181.9 MB, free: 164 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 221.4 MB / 436 MB, free: 9.293 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009178/0.0009179, allocations: 99.02 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 281.9 kB / 0.5884 GB, free: 12.31 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1753/0.1771, allocations: 89.62 MB / 0.676 GB, free: 2.605 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.5024, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6361/1.139, allocations: 419.5 MB / 1.166 GB, free: 13.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/1.139, allocations: 75.94 kB / 1.167 GB, free: 13.16 MB / 0.6982 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.7751/1.914, allocations: 189.3 MB / 1.351 GB, free: 98.27 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.914, allocations: 15.98 kB / 1.351 GB, free: 98.26 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/1.915, allocations: 91.72 kB / 1.351 GB, free: 98.17 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/1.916, allocations: 230.7 kB / 1.352 GB, free: 97.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/1.916, allocations: 4 kB / 1.352 GB, free: 97.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/1.916, allocations: 12 kB / 1.352 GB, free: 97.89 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004614/1.916, allocations: 399.6 kB / 1.352 GB, free: 97.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/1.916, allocations: 208.8 kB / 1.352 GB, free: 97.27 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.916, allocations: 0 / 1.352 GB, free: 97.27 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/1.916, allocations: 4 kB / 1.352 GB, free: 97.27 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/1.916, allocations: 4 kB / 1.352 GB, free: 97.27 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009246/1.917, allocations: 0.8592 MB / 1.353 GB, free: 96.34 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/1.918, allocations: 140.9 kB / 1.353 GB, free: 96.2 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/1.918, allocations: 68.84 kB / 1.353 GB, free: 96.12 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1038/2.022, allocations: 48.33 MB / 1.401 GB, free: 44.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/2.022, allocations: 38.56 kB / 1.401 GB, free: 44.66 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/2.022, allocations: 0 / 1.401 GB, free: 44.66 MB / 0.6982 GB Notification: Performance of matching and sorting (n=25): time 0.001023/2.023, allocations: 225.5 kB / 1.401 GB, free: 44.43 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/2.023, allocations: 59.41 kB / 1.401 GB, free: 44.36 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/2.023, allocations: 113.1 kB / 1.401 GB, free: 44.24 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/2.023, allocations: 29.7 kB / 1.401 GB, free: 44.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/2.023, allocations: 112.4 kB / 1.401 GB, free: 44.09 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/2.023, allocations: 78.81 kB / 1.401 GB, free: 44.01 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/2.023, allocations: 0 / 1.401 GB, free: 44.01 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 4.577e-05/2.023, allocations: 322.8 kB / 1.401 GB, free: 43.69 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/2.023, allocations: 44 kB / 1.402 GB, free: 43.64 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/2.023, allocations: 94.62 kB / 1.402 GB, free: 43.54 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/2.023, allocations: 70.73 kB / 1.402 GB, free: 43.47 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/2.023, allocations: 3.938 kB / 1.402 GB, free: 43.46 MB / 0.6982 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007671/2.024, allocations: 261.3 kB / 1.402 GB, free: 43.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/2.024, allocations: 4 kB / 1.402 GB, free: 43.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/2.024, allocations: 4 kB / 1.402 GB, free: 43.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/2.024, allocations: 4 kB / 1.402 GB, free: 43.19 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/2.024, allocations: 51.91 kB / 1.402 GB, free: 43.14 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/2.024, allocations: 4 kB / 1.402 GB, free: 43.14 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.621e-05/2.025, allocations: 15.78 kB / 1.402 GB, free: 43.12 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/2.025, allocations: 12 kB / 1.402 GB, free: 43.11 MB / 0.6982 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.455e-05/2.025, allocations: 120.9 kB / 1.402 GB, free: 42.98 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/2.025, allocations: 63.83 kB / 1.402 GB, free: 42.92 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/2.026, allocations: 0.8075 MB / 1.403 GB, free: 42.12 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/2.026, allocations: 15.97 kB / 1.403 GB, free: 42.1 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.026, allocations: 0 / 1.403 GB, free: 42.1 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/2.026, allocations: 0 / 1.403 GB, free: 42.1 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/2.027, allocations: 1.152 MB / 1.404 GB, free: 40.91 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/2.027, allocations: 0 / 1.404 GB, free: 40.91 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/2.027, allocations: 51.91 kB / 1.404 GB, free: 40.86 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/2.027, allocations: 4 kB / 1.404 GB, free: 40.86 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/2.027, allocations: 11.91 kB / 1.404 GB, free: 40.85 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/2.027, allocations: 0 / 1.404 GB, free: 40.85 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/2.027, allocations: 0 / 1.404 GB, free: 40.85 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001144/2.029, allocations: 0.75 MB / 1.405 GB, free: 40.08 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001387/2.03, allocations: 1.191 MB / 1.406 GB, free: 38.87 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/2.03, allocations: 132.7 kB / 1.406 GB, free: 38.72 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/2.03, allocations: 0 / 1.406 GB, free: 38.72 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/2.03, allocations: 15.98 kB / 1.406 GB, free: 38.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/2.03, allocations: 19.97 kB / 1.406 GB, free: 38.68 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/2.03, allocations: 11.91 kB / 1.406 GB, free: 38.67 MB / 0.6982 GB Notification: Performance of sort global known variables: time 3.815e-05/2.03, allocations: 104 kB / 1.406 GB, free: 38.57 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.007978/2.038, allocations: 1.873 MB / 1.408 GB, free: 36.7 MB / 0.6982 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.01269/2.051, allocations: 2.699 MB / 1.411 GB, free: 34.15 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0004421/2.052, allocations: 345.3 kB / 1.411 GB, free: 33.81 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/2.052, allocations: 0 / 1.411 GB, free: 33.81 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/2.052, allocations: 332.5 kB / 1.411 GB, free: 33.49 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/2.052, allocations: 36.28 kB / 1.411 GB, free: 33.45 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/2.053, allocations: 494.2 kB / 1.412 GB, free: 32.95 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/2.053, allocations: 0.812 MB / 1.413 GB, free: 32.11 MB / 0.6982 GB Notification: Performance of SimCode: time 2.9e-07/2.053, allocations: 3.938 kB / 1.413 GB, free: 32.11 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)