Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 289.8 MB / 297.1 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 181.2 kB / 366.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 0.6256 GB, free: 5.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 88.09 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3029/0.304, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.735/1.039, allocations: 116.3 MB / 0.9726 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.998/2.037, allocations: 438.7 MB / 1.401 GB, free: 46.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/2.037, allocations: 85.77 kB / 1.401 GB, free: 46.29 MB / 0.823 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.2165/2.254, allocations: 85.63 MB / 1.485 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/2.254, allocations: 16 kB / 1.485 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/2.254, allocations: 23.8 kB / 1.485 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/2.254, allocations: 214.3 kB / 1.485 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/2.254, allocations: 8 kB / 1.485 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/2.254, allocations: 8 kB / 1.485 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004499/2.255, allocations: 413 kB / 1.485 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/2.255, allocations: 218.1 kB / 1.486 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/2.255, allocations: 0 / 1.486 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/2.255, allocations: 0 / 1.486 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/2.255, allocations: 8 kB / 1.486 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/2.256, allocations: 0.9715 MB / 1.487 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/2.257, allocations: 142.6 kB / 1.487 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/2.257, allocations: 52.95 kB / 1.487 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/2.258, allocations: 1.964 MB / 1.489 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/2.258, allocations: 37.69 kB / 1.489 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/2.258, allocations: 4 kB / 1.489 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.000496/2.259, allocations: 130.6 kB / 1.489 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/2.259, allocations: 55.31 kB / 1.489 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/2.259, allocations: 135.3 kB / 1.489 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/2.259, allocations: 29.08 kB / 1.489 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/2.259, allocations: 138.5 kB / 1.489 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/2.259, allocations: 54.53 kB / 1.489 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/2.259, allocations: 3.938 kB / 1.489 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/2.259, allocations: 326 kB / 1.49 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/2.259, allocations: 27.69 kB / 1.49 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.344e-05/2.259, allocations: 126.9 kB / 1.49 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/2.26, allocations: 88.42 kB / 1.49 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/2.26, allocations: 0 / 1.49 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004789/2.26, allocations: 203.9 kB / 1.49 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/2.26, allocations: 4 kB / 1.49 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/2.26, allocations: 8 kB / 1.49 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/2.26, allocations: 11.91 kB / 1.49 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/2.26, allocations: 59.66 kB / 1.49 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/2.26, allocations: 4 kB / 1.49 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/2.26, allocations: 19.75 kB / 1.49 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/2.26, allocations: 16.69 kB / 1.49 GB, free: 14.53 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 8.028e-05/2.261, allocations: 126 kB / 1.49 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/2.261, allocations: 15.81 kB / 1.49 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005277/2.261, allocations: 182.6 kB / 1.49 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/2.261, allocations: 4 kB / 1.49 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/2.261, allocations: 0 / 1.49 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/2.261, allocations: 0 / 1.49 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/2.261, allocations: 182.4 kB / 1.491 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/2.261, allocations: 0 / 1.491 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/2.261, allocations: 30.92 kB / 1.491 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/2.261, allocations: 0 / 1.491 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/2.262, allocations: 3.984 kB / 1.491 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/2.262, allocations: 11.94 kB / 1.491 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/2.262, allocations: 0 / 1.491 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000456/2.262, allocations: 231.8 kB / 1.491 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005571/2.263, allocations: 0.6232 MB / 1.491 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-05/2.263, allocations: 126.9 kB / 1.492 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/2.263, allocations: 7.938 kB / 1.492 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/2.263, allocations: 11.98 kB / 1.492 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/2.263, allocations: 7.984 kB / 1.492 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/2.263, allocations: 11.3 kB / 1.492 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.329e-05/2.263, allocations: 102.6 kB / 1.492 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001026/2.264, allocations: 96.83 kB / 1.492 GB, free: 12.8 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.0003256/2.264, allocations: 237.8 kB / 1.492 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001981/2.265, allocations: 99.11 kB / 1.492 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/2.265, allocations: 4 kB / 1.492 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/2.265, allocations: 41.73 kB / 1.492 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/2.265, allocations: 25.5 kB / 1.492 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/2.265, allocations: 178.2 kB / 1.492 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/2.266, allocations: 0.7469 MB / 1.493 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/2.266, allocations: 0 / 1.493 GB, free: 11.48 MB / 0.8698 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)