Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.232/1.232, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 189.2 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.127/1.127, allocations: 205.2 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008256/0.0008258, allocations: 89.59 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3401/0.3409, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.5018, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.544, allocations: 431.2 MB / 1.306 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.544, allocations: 82.12 kB / 1.306 GB, free: 248.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.2117/1.756, allocations: 85.19 MB / 1.389 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/1.756, allocations: 15.98 kB / 1.389 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/1.756, allocations: 23.8 kB / 1.389 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/1.757, allocations: 214 kB / 1.389 GB, free: 210 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/1.757, allocations: 4 kB / 1.389 GB, free: 210 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/1.757, allocations: 12 kB / 1.389 GB, free: 210 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000369/1.757, allocations: 411 kB / 1.39 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/1.757, allocations: 221 kB / 1.39 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.757, allocations: 4 kB / 1.39 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/1.757, allocations: 3.906 kB / 1.39 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/1.757, allocations: 4 kB / 1.39 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/1.758, allocations: 1.009 MB / 1.391 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/1.758, allocations: 143.9 kB / 1.391 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/1.758, allocations: 56.48 kB / 1.391 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.76, allocations: 1.947 MB / 1.393 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/1.76, allocations: 42.5 kB / 1.393 GB, free: 206 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/1.76, allocations: 0 / 1.393 GB, free: 206 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0005207/1.76, allocations: 134.6 kB / 1.393 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/1.76, allocations: 51.41 kB / 1.393 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.76, allocations: 136.7 kB / 1.393 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.76, allocations: 29.64 kB / 1.393 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/1.76, allocations: 134.9 kB / 1.393 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/1.76, allocations: 54.14 kB / 1.393 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/1.76, allocations: 4 kB / 1.394 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.1e-05/1.76, allocations: 321.7 kB / 1.394 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/1.761, allocations: 31.05 kB / 1.394 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.755e-05/1.761, allocations: 135.9 kB / 1.394 GB, free: 205 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/1.761, allocations: 75.61 kB / 1.394 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.761, allocations: 4 kB / 1.394 GB, free: 204.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004508/1.761, allocations: 217.6 kB / 1.394 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.761, allocations: 4 kB / 1.394 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.761, allocations: 4 kB / 1.394 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.761, allocations: 4 kB / 1.394 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/1.762, allocations: 59.91 kB / 1.394 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.762, allocations: 4 kB / 1.394 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/1.762, allocations: 23.69 kB / 1.394 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/1.762, allocations: 19.23 kB / 1.394 GB, free: 204.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.898e-05/1.762, allocations: 113 kB / 1.394 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/1.762, allocations: 15.81 kB / 1.394 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005249/1.762, allocations: 194.4 kB / 1.395 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.762, allocations: 3.906 kB / 1.395 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.762, allocations: 0 / 1.395 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.762, allocations: 0 / 1.395 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/1.763, allocations: 184.1 kB / 1.395 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.763, allocations: 4 kB / 1.395 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/1.763, allocations: 27.98 kB / 1.395 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.763, allocations: 4 kB / 1.395 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.763, allocations: 0 / 1.395 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.763, allocations: 0 / 1.395 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.763, allocations: 3.984 kB / 1.395 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003855/1.763, allocations: 236.6 kB / 1.395 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005231/1.764, allocations: 0.6226 MB / 1.396 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/1.764, allocations: 127.2 kB / 1.396 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/1.764, allocations: 3.906 kB / 1.396 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/1.764, allocations: 8 kB / 1.396 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/1.764, allocations: 7.984 kB / 1.396 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/1.764, allocations: 15.55 kB / 1.396 GB, free: 203 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.07e-05/1.764, allocations: 106.1 kB / 1.396 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009708/1.765, allocations: 93.67 kB / 1.396 GB, free: 202.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003088/1.765, allocations: 230.3 kB / 1.396 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002092/1.766, allocations: 105.2 kB / 1.396 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.766, allocations: 7.984 kB / 1.396 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/1.766, allocations: 43.36 kB / 1.396 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/1.766, allocations: 24.23 kB / 1.396 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/1.767, allocations: 171.7 kB / 1.397 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/1.767, allocations: 0.7506 MB / 1.397 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/1.767, allocations: 4 kB / 1.397 GB, free: 201.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)