Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") [: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.557/1.557, allocations: 289.8 MB / 297.1 MB, free: 9.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 186.8 kB / 366.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 0.6256 GB, free: 2.262 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 84.19 kB / 0.7396 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.382e-06, allocations: 1.188 kB / 0.859 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2303, allocations: 116.3 MB / 0.9726 GB, free: 54.4 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9369/1.167, allocations: 381.1 MB / 1.345 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.168, allocations: 71.97 kB / 1.345 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.04604/1.214, allocations: 19.23 MB / 1.364 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.101e-05/1.214, allocations: 4 kB / 1.364 GB, free: 4.137 MB / 0.8575 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.0007829/1.214, allocations: 465.8 kB / 1.364 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.215, allocations: 12.03 kB / 1.364 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/1.215, allocations: 23.38 kB / 1.364 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/1.215, allocations: 205.6 kB / 1.364 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/1.215, allocations: 8 kB / 1.364 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/1.215, allocations: 11.98 kB / 1.364 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005271/1.216, allocations: 420 kB / 1.365 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/1.216, allocations: 215.9 kB / 1.365 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/1.216, allocations: 0 / 1.365 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/1.216, allocations: 4 kB / 1.365 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/1.216, allocations: 4 kB / 1.365 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/1.217, allocations: 0.9358 MB / 1.366 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/1.218, allocations: 146.5 kB / 1.366 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/1.218, allocations: 58.58 kB / 1.366 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/1.219, allocations: 1.918 MB / 1.368 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/1.22, allocations: 41.78 kB / 1.368 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/1.22, allocations: 0 / 1.368 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0005422/1.22, allocations: 130.4 kB / 1.368 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/1.22, allocations: 59.09 kB / 1.368 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/1.22, allocations: 131.4 kB / 1.368 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.22, allocations: 25.7 kB / 1.368 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/1.22, allocations: 148.4 kB / 1.368 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/1.22, allocations: 45.72 kB / 1.368 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/1.22, allocations: 0 / 1.368 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.221, allocations: 325.4 kB / 1.369 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/1.221, allocations: 25.62 kB / 1.369 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/1.221, allocations: 137.3 kB / 1.369 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/1.221, allocations: 76.11 kB / 1.369 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.221, allocations: 0 / 1.369 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005147/1.222, allocations: 215.4 kB / 1.369 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.222, allocations: 4 kB / 1.369 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.222, allocations: 4 kB / 1.369 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.222, allocations: 4 kB / 1.369 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/1.222, allocations: 59.22 kB / 1.369 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.222, allocations: 8 kB / 1.369 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/1.222, allocations: 24.06 kB / 1.369 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/1.222, allocations: 15.98 kB / 1.369 GB, free: 14.03 MB / 0.8731 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 9.971e-05/1.222, allocations: 116 kB / 1.369 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/1.222, allocations: 11.91 kB / 1.369 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/1.223, allocations: 193.8 kB / 1.37 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/1.223, allocations: 0 / 1.37 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.223, allocations: 0 / 1.37 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.223, allocations: 0 / 1.37 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/1.223, allocations: 187.6 kB / 1.37 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.223, allocations: 4 kB / 1.37 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/1.223, allocations: 27.98 kB / 1.37 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.223, allocations: 0 / 1.37 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/1.223, allocations: 11.48 kB / 1.37 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.223, allocations: 3.938 kB / 1.37 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.223, allocations: 0 / 1.37 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004788/1.224, allocations: 235 kB / 1.37 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/1.224, allocations: 127.8 kB / 1.37 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/1.224, allocations: 4 kB / 1.37 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/1.224, allocations: 4 kB / 1.37 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/1.224, allocations: 15.42 kB / 1.37 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/1.224, allocations: 11.98 kB / 1.37 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9.286e-05/1.224, allocations: 109.1 kB / 1.37 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004841/1.225, allocations: 79.27 kB / 1.37 GB, free: 12.92 MB / 0.8731 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.0003775/1.225, allocations: 174.3 kB / 1.371 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002794/1.226, allocations: 103.7 kB / 1.371 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.226, allocations: 4 kB / 1.371 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/1.226, allocations: 37.75 kB / 1.371 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/1.226, allocations: 32.72 kB / 1.371 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006729/1.227, allocations: 171.6 kB / 1.371 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/1.227, allocations: 0.7397 MB / 1.372 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/1.227, allocations: 0 / 1.372 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.0076/1.235, allocations: 3.282 MB / 1.375 GB, free: 8.406 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)