Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [: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.514/1.514, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001032/0.001032, allocations: 173.3 kB / 366.3 MB, free: 1.984 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.6/1.6, allocations: 205.2 MB / 0.6256 GB, free: 5.824 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.0009016/0.0009015, allocations: 90.95 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.304e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6602, allocations: 116.3 MB / 0.9725 GB, free: 68.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9954/1.656, allocations: 424 MB / 1.387 GB, free: 61.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.656, allocations: 69.03 kB / 1.387 GB, free: 61.84 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0355/1.692, allocations: 17.41 MB / 1.404 GB, free: 47.99 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.103e-05/1.692, allocations: 0.6562 kB / 1.404 GB, free: 47.99 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004697/1.692, allocations: 353.4 kB / 1.404 GB, free: 47.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.692, allocations: 8.031 kB / 1.404 GB, free: 47.59 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/1.692, allocations: 3.906 kB / 1.404 GB, free: 47.59 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/1.692, allocations: 167 kB / 1.404 GB, free: 47.39 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/1.692, allocations: 29.69 kB / 1.404 GB, free: 47.35 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/1.692, allocations: 0 / 1.404 GB, free: 47.35 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.034e-05/1.693, allocations: 13.47 kB / 1.404 GB, free: 47.34 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.732e-05/1.693, allocations: 37.69 kB / 1.404 GB, free: 47.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/1.693, allocations: 0 / 1.404 GB, free: 47.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.693, allocations: 7.906 kB / 1.404 GB, free: 47.29 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/1.693, allocations: 4 kB / 1.404 GB, free: 47.29 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/1.693, allocations: 309.4 kB / 1.405 GB, free: 46.94 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.265e-05/1.693, allocations: 26.33 kB / 1.405 GB, free: 46.91 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/1.693, allocations: 10.45 kB / 1.405 GB, free: 46.89 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.054e-05/1.693, allocations: 81.17 kB / 1.405 GB, free: 46.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/1.693, allocations: 34.56 kB / 1.405 GB, free: 46.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.634e-06/1.693, allocations: 0 / 1.405 GB, free: 46.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002651/1.694, allocations: 37.69 kB / 1.405 GB, free: 46.71 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/1.694, allocations: 51.41 kB / 1.405 GB, free: 46.65 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/1.694, allocations: 96.56 kB / 1.405 GB, free: 46.55 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/1.694, allocations: 25.7 kB / 1.405 GB, free: 46.52 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/1.694, allocations: 92.03 kB / 1.405 GB, free: 46.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/1.694, allocations: 7.969 kB / 1.405 GB, free: 46.42 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/1.694, allocations: 0.6562 kB / 1.405 GB, free: 46.42 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/1.694, allocations: 317.9 kB / 1.405 GB, free: 46.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/1.694, allocations: 4 kB / 1.405 GB, free: 46.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/1.694, allocations: 13.72 kB / 1.405 GB, free: 46.08 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.313e-05/1.694, allocations: 11.92 kB / 1.405 GB, free: 46.07 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.694, allocations: 0 / 1.405 GB, free: 46.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001062/1.694, allocations: 49.69 kB / 1.405 GB, free: 46.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.694, allocations: 8.688 kB / 1.405 GB, free: 46.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.694, allocations: 0 / 1.405 GB, free: 46.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.694, allocations: 3.938 kB / 1.405 GB, free: 46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/1.694, allocations: 4 kB / 1.405 GB, free: 46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.694, allocations: 7.984 kB / 1.405 GB, free: 45.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/1.695, allocations: 3.906 kB / 1.405 GB, free: 45.99 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/1.695, allocations: 0 / 1.405 GB, free: 45.99 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.719e-05/1.695, allocations: 105 kB / 1.405 GB, free: 45.88 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/1.695, allocations: 4.625 kB / 1.405 GB, free: 45.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/1.695, allocations: 120.2 kB / 1.406 GB, free: 45.75 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.973e-05/1.695, allocations: 184.2 kB / 1.406 GB, free: 45.56 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.862e-05/1.695, allocations: 176.3 kB / 1.406 GB, free: 45.38 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.33e-05/1.695, allocations: 180.3 kB / 1.406 GB, free: 45.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/1.695, allocations: 392.7 kB / 1.406 GB, free: 44.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.944e-05/1.695, allocations: 102.1 kB / 1.407 GB, free: 44.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.013e-05/1.695, allocations: 109 kB / 1.407 GB, free: 44.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.929e-05/1.695, allocations: 180.5 kB / 1.407 GB, free: 44.37 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/1.696, allocations: 183.8 kB / 1.407 GB, free: 44.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.251e-05/1.696, allocations: 184.2 kB / 1.407 GB, free: 44 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.903e-05/1.696, allocations: 184.2 kB / 1.407 GB, free: 43.81 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001148/1.696, allocations: 295.8 kB / 1.408 GB, free: 43.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/1.696, allocations: 198.8 kB / 1.408 GB, free: 43.28 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/1.696, allocations: 176.3 kB / 1.408 GB, free: 43.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/1.696, allocations: 113 kB / 1.408 GB, free: 42.98 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/1.696, allocations: 184.2 kB / 1.408 GB, free: 42.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/1.696, allocations: 101 kB / 1.408 GB, free: 42.69 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.288e-05/1.696, allocations: 82.53 kB / 1.408 GB, free: 42.61 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003016/1.696, allocations: 23.31 kB / 1.409 GB, free: 42.59 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000334/1.697, allocations: 232.4 kB / 1.409 GB, free: 42.36 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.641e-05/1.697, allocations: 13.42 kB / 1.409 GB, free: 42.35 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.697, allocations: 0 / 1.409 GB, free: 42.35 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-06/1.697, allocations: 0 / 1.409 GB, free: 42.35 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/1.697, allocations: 0.5233 MB / 1.409 GB, free: 41.82 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/1.698, allocations: 133 kB / 1.409 GB, free: 41.67 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/1.698, allocations: 0.6889 MB / 1.41 GB, free: 40.96 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/1.698, allocations: 4 kB / 1.41 GB, free: 40.95 MB / 0.823 GB Notification: Performance of Templates: time 0.003311/1.701, allocations: 0.8373 MB / 1.411 GB, free: 40.14 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)