Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.715/0.715, allocations: 141.8 MB / 149.1 MB, free: 2.285 MB / 130.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 175.2 kB / 182 MB, free: 14.3 MB / 162.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.4 MB / 436.1 MB, free: 7.355 MB / 338.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009201, allocations: 102 kB / 0.5071 GB, free: 24.43 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 277.5 kB / 0.5885 GB, free: 10.52 MB / 450.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1631/0.1649, allocations: 89.63 MB / 0.676 GB, free: 0.8125 MB / 0.5184 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.4932, allocations: 82.76 MB / 0.7568 GB, free: 111.1 MB / 0.534 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9855/1.479, allocations: 0.6495 GB / 1.406 GB, free: 36.36 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/1.479, allocations: 80.8 kB / 1.406 GB, free: 36.32 MB / 0.7059 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.419/1.898, allocations: 64.47 MB / 1.469 GB, free: 184.2 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/1.898, allocations: 8.594 kB / 1.469 GB, free: 184.2 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004277/1.898, allocations: 29.89 kB / 1.469 GB, free: 184.2 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.243e-05/1.899, allocations: 168.1 kB / 1.47 GB, free: 184 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/1.899, allocations: 35.58 kB / 1.47 GB, free: 184 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/1.899, allocations: 3.844 kB / 1.47 GB, free: 184 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001483/1.899, allocations: 85.5 kB / 1.47 GB, free: 184 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/1.899, allocations: 72.48 kB / 1.47 GB, free: 183.9 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/1.899, allocations: 0 / 1.47 GB, free: 183.9 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/1.899, allocations: 3.719 kB / 1.47 GB, free: 183.9 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/1.899, allocations: 1.125 kB / 1.47 GB, free: 183.9 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/1.899, allocations: 308.7 kB / 1.47 GB, free: 183.7 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/1.899, allocations: 100.3 kB / 1.47 GB, free: 183.7 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.42e-05/1.9, allocations: 45.59 kB / 1.47 GB, free: 183.7 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/1.911, allocations: 4.14 MB / 1.474 GB, free: 181.8 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.911, allocations: 34.44 kB / 1.474 GB, free: 181.8 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/1.911, allocations: 2.5 kB / 1.474 GB, free: 181.8 MB / 0.7059 GB Notification: Performance of matching and sorting (n=13): time 0.0005956/1.912, allocations: 117.4 kB / 1.474 GB, free: 181.7 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/1.912, allocations: 60.94 kB / 1.474 GB, free: 181.7 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/1.912, allocations: 95.53 kB / 1.474 GB, free: 181.6 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/1.912, allocations: 28.33 kB / 1.475 GB, free: 181.5 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 2.368e-05/1.912, allocations: 85.73 kB / 1.475 GB, free: 181.5 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/1.912, allocations: 46.03 kB / 1.475 GB, free: 181.4 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/1.912, allocations: 0 / 1.475 GB, free: 181.4 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 5.008e-05/1.912, allocations: 316.2 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/1.912, allocations: 23.53 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/1.912, allocations: 20.56 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/1.912, allocations: 36.41 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.912, allocations: 0 / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003088/1.913, allocations: 123.3 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.913, allocations: 5.688 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.913, allocations: 3 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/1.913, allocations: 1.75 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/1.913, allocations: 21.27 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.913, allocations: 2.109 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/1.913, allocations: 7.578 kB / 1.475 GB, free: 181.1 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/1.913, allocations: 3.531 kB / 1.475 GB, free: 181.1 MB / 0.7059 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.527e-05/1.913, allocations: 110.5 kB / 1.475 GB, free: 181 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/1.913, allocations: 21.23 kB / 1.475 GB, free: 181 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/1.914, allocations: 399.8 kB / 1.476 GB, free: 180.9 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/1.914, allocations: 13.95 kB / 1.476 GB, free: 180.9 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.914, allocations: 0 / 1.476 GB, free: 180.9 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.914, allocations: 1.562 kB / 1.476 GB, free: 180.9 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/1.914, allocations: 236.3 kB / 1.476 GB, free: 180.7 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.914, allocations: 1.531 kB / 1.476 GB, free: 180.7 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/1.914, allocations: 28.28 kB / 1.476 GB, free: 180.7 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.914, allocations: 0 / 1.476 GB, free: 180.7 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/1.914, allocations: 1.562 kB / 1.476 GB, free: 180.7 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.914, allocations: 9.25 kB / 1.476 GB, free: 180.7 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.914, allocations: 0 / 1.476 GB, free: 180.7 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004599/1.915, allocations: 413.2 kB / 1.476 GB, free: 180.6 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005454/1.915, allocations: 0.7991 MB / 1.477 GB, free: 180.1 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/1.915, allocations: 100.5 kB / 1.477 GB, free: 180 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/1.915, allocations: 0 / 1.477 GB, free: 180 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/1.915, allocations: 11.78 kB / 1.477 GB, free: 180 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/1.915, allocations: 10.8 kB / 1.477 GB, free: 180 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.915, allocations: 5.094 kB / 1.477 GB, free: 180 MB / 0.7059 GB Notification: Performance of sort global known variables: time 1.981e-05/1.915, allocations: 80.97 kB / 1.477 GB, free: 179.9 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.002326/1.918, allocations: 408.2 kB / 1.478 GB, free: 179.9 MB / 0.7059 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.002807/1.921, allocations: 0.9355 MB / 1.479 GB, free: 179.7 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.0002123/1.921, allocations: 159.7 kB / 1.479 GB, free: 179.7 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.921, allocations: 7.562 kB / 1.479 GB, free: 179.7 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/1.921, allocations: 161.1 kB / 1.479 GB, free: 179.7 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/1.921, allocations: 11.7 kB / 1.479 GB, free: 179.6 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/1.922, allocations: 259.9 kB / 1.479 GB, free: 179.6 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.922, allocations: 0.7401 MB / 1.48 GB, free: 178.8 MB / 0.7059 GB Notification: Performance of SimCode: time 2.5e-07/1.922, allocations: 0 / 1.48 GB, free: 178.8 MB / 0.7059 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)