Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [: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.0.1-maint.8.0.x/package.mo): time 1.433/1.433, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001071/0.001071, allocations: 185.3 kB / 361.1 MB, free: 7.117 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.383/1.383, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0009825/0.0009826, allocations: 93.8 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.585e-06/7.695e-06, allocations: 0 / 0.851 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7022, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8388/1.541, allocations: 376.9 MB / 1.332 GB, free: 223 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.541, allocations: 70.08 kB / 1.332 GB, free: 222.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02158/1.563, allocations: 11.7 MB / 1.343 GB, free: 211.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.563, allocations: 0 / 1.343 GB, free: 211.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002622/1.563, allocations: 339.1 kB / 1.344 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.563, allocations: 8.031 kB / 1.344 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/1.563, allocations: 7.844 kB / 1.344 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/1.563, allocations: 163.1 kB / 1.344 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/1.564, allocations: 29.69 kB / 1.344 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/1.564, allocations: 0 / 1.344 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.787e-05/1.564, allocations: 12 kB / 1.344 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/1.564, allocations: 37.69 kB / 1.344 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.564, allocations: 4.938 kB / 1.344 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/1.564, allocations: 0 / 1.344 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/1.564, allocations: 4 kB / 1.344 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/1.564, allocations: 310.5 kB / 1.344 GB, free: 210.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.024e-05/1.564, allocations: 22.5 kB / 1.344 GB, free: 210.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/1.564, allocations: 8.922 kB / 1.344 GB, free: 210.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-05/1.564, allocations: 85.11 kB / 1.344 GB, free: 210.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/1.564, allocations: 34.56 kB / 1.344 GB, free: 210 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/1.564, allocations: 0 / 1.344 GB, free: 210 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001748/1.564, allocations: 41.59 kB / 1.344 GB, free: 210 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/1.565, allocations: 52.25 kB / 1.344 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.234e-05/1.565, allocations: 89 kB / 1.344 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/1.565, allocations: 25.7 kB / 1.344 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/1.565, allocations: 99.97 kB / 1.345 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/1.565, allocations: 4.031 kB / 1.345 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.565, allocations: 0 / 1.345 GB, free: 209.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.053e-05/1.565, allocations: 314.8 kB / 1.345 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/1.565, allocations: 4 kB / 1.345 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/1.565, allocations: 17.72 kB / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.206e-05/1.565, allocations: 9.203 kB / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.565, allocations: 0 / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.958e-05/1.565, allocations: 45.69 kB / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.565, allocations: 8 kB / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/1.565, allocations: 3.938 kB / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/1.565, allocations: 0 / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/1.565, allocations: 4 kB / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.565, allocations: 9 kB / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/1.565, allocations: 7.844 kB / 1.345 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/1.565, allocations: 5.938 kB / 1.345 GB, free: 209.3 MB / 0.8542 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 5.074e-05/1.565, allocations: 114.7 kB / 1.345 GB, free: 209.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/1.565, allocations: 0 / 1.345 GB, free: 209.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-05/1.565, allocations: 113 kB / 1.345 GB, free: 209 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/1.565, allocations: 189.1 kB / 1.345 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.908e-05/1.565, allocations: 176.3 kB / 1.346 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/1.565, allocations: 184.3 kB / 1.346 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/1.566, allocations: 385.7 kB / 1.346 GB, free: 208 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/1.566, allocations: 101 kB / 1.346 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/1.566, allocations: 105 kB / 1.346 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.072e-05/1.566, allocations: 184.2 kB / 1.346 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/1.566, allocations: 180.2 kB / 1.347 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.199e-05/1.566, allocations: 180.3 kB / 1.347 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.029e-05/1.566, allocations: 188.2 kB / 1.347 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.01e-05/1.566, allocations: 299.7 kB / 1.347 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/1.566, allocations: 188.2 kB / 1.347 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/1.566, allocations: 188.2 kB / 1.348 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/1.566, allocations: 110.7 kB / 1.348 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/1.566, allocations: 184.2 kB / 1.348 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/1.566, allocations: 101 kB / 1.348 GB, free: 206 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.437e-05/1.566, allocations: 79.28 kB / 1.348 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002379/1.566, allocations: 20 kB / 1.348 GB, free: 205.9 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 (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.0001907/1.567, allocations: 210.3 kB / 1.348 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.502e-05/1.567, allocations: 9.344 kB / 1.348 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.567, allocations: 4.125 kB / 1.348 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/1.567, allocations: 4 kB / 1.348 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/1.567, allocations: 0.5185 MB / 1.349 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/1.567, allocations: 128 kB / 1.349 GB, free: 205 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/1.567, allocations: 0.688 MB / 1.35 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.567, allocations: 0 / 1.35 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002816/1.57, allocations: 0.7023 MB / 1.35 GB, free: 203.6 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)