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: translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [: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.458/1.458, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001024/0.001024, allocations: 181.3 kB / 366.3 MB, free: 2.02 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.237/1.237, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0008154/0.0008154, allocations: 95.98 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.806e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5478, allocations: 116.3 MB / 0.9726 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8518/1.4, allocations: 438.7 MB / 1.401 GB, free: 50.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.4, allocations: 78.02 kB / 1.401 GB, free: 50.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.2114/1.611, allocations: 84.91 MB / 1.484 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.611, allocations: 8 kB / 1.484 GB, free: 8.762 MB / 0.8542 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.003016/1.614, allocations: 0.7276 MB / 1.485 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.615, allocations: 8.031 kB / 1.485 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/1.615, allocations: 23.8 kB / 1.485 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/1.615, allocations: 214.3 kB / 1.485 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/1.615, allocations: 4 kB / 1.485 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/1.615, allocations: 8 kB / 1.485 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000527/1.616, allocations: 413.2 kB / 1.485 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/1.616, allocations: 217.8 kB / 1.486 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.616, allocations: 0 / 1.486 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/1.616, allocations: 3.984 kB / 1.486 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/1.616, allocations: 7.875 kB / 1.486 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/1.617, allocations: 0.964 MB / 1.487 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/1.617, allocations: 142.4 kB / 1.487 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/1.618, allocations: 52.83 kB / 1.487 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/1.619, allocations: 1.967 MB / 1.489 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/1.619, allocations: 34.44 kB / 1.489 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/1.619, allocations: 0 / 1.489 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004929/1.62, allocations: 128.9 kB / 1.489 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/1.62, allocations: 59.31 kB / 1.489 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.62, allocations: 139 kB / 1.489 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/1.62, allocations: 29.64 kB / 1.489 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/1.62, allocations: 151.2 kB / 1.489 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/1.62, allocations: 46.98 kB / 1.489 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/1.62, allocations: 0 / 1.489 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.62, allocations: 326.5 kB / 1.489 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.438e-05/1.62, allocations: 27.81 kB / 1.49 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.493e-05/1.62, allocations: 129 kB / 1.49 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/1.621, allocations: 79.42 kB / 1.49 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.621, allocations: 0 / 1.49 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004822/1.621, allocations: 211.2 kB / 1.49 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.621, allocations: 4 kB / 1.49 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.621, allocations: 4 kB / 1.49 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.621, allocations: 7.906 kB / 1.49 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/1.621, allocations: 55.91 kB / 1.49 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.621, allocations: 15.92 kB / 1.49 GB, free: 2.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/1.621, allocations: 20.16 kB / 1.49 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/1.622, allocations: 15.62 kB / 1.49 GB, free: 2.344 MB / 0.8542 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 7.999e-05/1.622, allocations: 112.9 kB / 1.49 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/1.622, allocations: 15.81 kB / 1.49 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/1.622, allocations: 186.6 kB / 1.49 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/1.622, allocations: 0 / 1.49 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.622, allocations: 0 / 1.49 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.622, allocations: 0 / 1.49 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/1.622, allocations: 180.5 kB / 1.491 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.622, allocations: 4 kB / 1.491 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/1.623, allocations: 39.22 kB / 1.491 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.623, allocations: 0 / 1.491 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/1.623, allocations: 4 kB / 1.491 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.623, allocations: 0 / 1.491 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.623, allocations: 4 kB / 1.491 GB, free: 1.793 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004551/1.623, allocations: 238.6 kB / 1.491 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/1.623, allocations: 123.1 kB / 1.491 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/1.623, allocations: 7.984 kB / 1.491 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/1.623, allocations: 11.88 kB / 1.491 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/1.623, allocations: 11.55 kB / 1.491 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/1.623, allocations: 11.98 kB / 1.491 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.695e-05/1.624, allocations: 104.6 kB / 1.491 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004353/1.624, allocations: 86.91 kB / 1.491 GB, free: 1.223 MB / 0.8542 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.0003448/1.624, allocations: 226.6 kB / 1.491 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002908/1.625, allocations: 103.7 kB / 1.491 GB, free: 0.9102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.625, allocations: 4 kB / 1.491 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/1.625, allocations: 43.3 kB / 1.491 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/1.625, allocations: 32.7 kB / 1.492 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/1.626, allocations: 167.3 kB / 1.492 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/1.626, allocations: 0.743 MB / 1.492 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/1.626, allocations: 0 / 1.492 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of Templates: time 0.007611/1.634, allocations: 3.785 MB / 1.496 GB, free: 12.18 MB / 0.8698 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (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 & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)