Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.496/1.496, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001136/0.001135, allocations: 185.3 kB / 366.3 MB, free: 1.98 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.342/1.342, allocations: 205.2 MB / 0.6256 GB, free: 5.805 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.0008859/0.000886, allocations: 88.75 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.521e-06/5.541e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.6032, allocations: 116.3 MB / 0.9725 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8283/1.432, allocations: 377.9 MB / 1.342 GB, free: 109.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.432, allocations: 63.53 kB / 1.342 GB, free: 109.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02181/1.454, allocations: 11.71 MB / 1.353 GB, free: 100.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.454, allocations: 3.812 kB / 1.353 GB, free: 100.9 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.0002673/1.454, allocations: 334.4 kB / 1.353 GB, free: 100.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.454, allocations: 8.031 kB / 1.353 GB, free: 100.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/1.454, allocations: 7.906 kB / 1.353 GB, free: 100.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.805e-05/1.454, allocations: 167 kB / 1.354 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/1.454, allocations: 25.7 kB / 1.354 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/1.454, allocations: 7.984 kB / 1.354 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.595e-05/1.454, allocations: 15.86 kB / 1.354 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.203e-05/1.454, allocations: 33.69 kB / 1.354 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/1.454, allocations: 8 kB / 1.354 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/1.455, allocations: 0 / 1.354 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/1.455, allocations: 0 / 1.354 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/1.455, allocations: 309.7 kB / 1.354 GB, free: 99.86 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/1.455, allocations: 25.64 kB / 1.354 GB, free: 99.83 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/1.455, allocations: 4.859 kB / 1.354 GB, free: 99.82 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/1.455, allocations: 85.17 kB / 1.354 GB, free: 99.72 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/1.455, allocations: 34.56 kB / 1.354 GB, free: 99.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/1.455, allocations: 0 / 1.354 GB, free: 99.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001763/1.455, allocations: 37.59 kB / 1.354 GB, free: 99.63 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/1.455, allocations: 51.41 kB / 1.354 GB, free: 99.57 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/1.455, allocations: 96.81 kB / 1.354 GB, free: 99.47 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/1.455, allocations: 25.7 kB / 1.354 GB, free: 99.44 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/1.455, allocations: 84.08 kB / 1.354 GB, free: 99.36 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-06/1.455, allocations: 11.92 kB / 1.354 GB, free: 99.34 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/1.455, allocations: 0 / 1.354 GB, free: 99.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/1.456, allocations: 318.1 kB / 1.355 GB, free: 99.03 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/1.456, allocations: 4 kB / 1.355 GB, free: 99.02 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/1.456, allocations: 13.72 kB / 1.355 GB, free: 99 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.427e-05/1.456, allocations: 11.86 kB / 1.355 GB, free: 99 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.456, allocations: 0 / 1.355 GB, free: 99 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.124e-05/1.456, allocations: 49.69 kB / 1.355 GB, free: 98.94 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/1.456, allocations: 4 kB / 1.355 GB, free: 98.94 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.456, allocations: 0 / 1.355 GB, free: 98.94 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/1.456, allocations: 3.938 kB / 1.355 GB, free: 98.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.524e-05/1.456, allocations: 8 kB / 1.355 GB, free: 98.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/1.456, allocations: 0 / 1.355 GB, free: 98.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/1.456, allocations: 11.78 kB / 1.355 GB, free: 98.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/1.456, allocations: 4 kB / 1.355 GB, free: 98.91 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 5.177e-05/1.456, allocations: 113.4 kB / 1.355 GB, free: 98.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/1.456, allocations: 0 / 1.355 GB, free: 98.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/1.456, allocations: 119.3 kB / 1.355 GB, free: 98.68 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/1.456, allocations: 184.1 kB / 1.355 GB, free: 98.49 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/1.456, allocations: 184.2 kB / 1.355 GB, free: 98.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/1.456, allocations: 180.3 kB / 1.356 GB, free: 98.12 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/1.456, allocations: 389 kB / 1.356 GB, free: 97.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.456, allocations: 101 kB / 1.356 GB, free: 97.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.777e-05/1.456, allocations: 104.9 kB / 1.356 GB, free: 97.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-05/1.456, allocations: 184.2 kB / 1.356 GB, free: 97.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/1.456, allocations: 180.3 kB / 1.356 GB, free: 97.11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-05/1.456, allocations: 188.2 kB / 1.357 GB, free: 96.92 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.95e-05/1.456, allocations: 183.9 kB / 1.357 GB, free: 96.74 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.723e-05/1.457, allocations: 299.7 kB / 1.357 GB, free: 96.42 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/1.457, allocations: 187.3 kB / 1.357 GB, free: 96.21 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/1.457, allocations: 191.8 kB / 1.357 GB, free: 96.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/1.457, allocations: 105 kB / 1.358 GB, free: 95.91 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/1.457, allocations: 184.2 kB / 1.358 GB, free: 95.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/1.457, allocations: 101 kB / 1.358 GB, free: 95.62 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.604e-05/1.457, allocations: 82.28 kB / 1.358 GB, free: 95.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002521/1.457, allocations: 12 kB / 1.358 GB, free: 95.53 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.0001946/1.457, allocations: 214.8 kB / 1.358 GB, free: 95.31 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.379e-05/1.457, allocations: 15.31 kB / 1.358 GB, free: 95.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.457, allocations: 4.125 kB / 1.358 GB, free: 95.29 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/1.457, allocations: 0 / 1.358 GB, free: 95.29 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/1.458, allocations: 0.5185 MB / 1.359 GB, free: 94.77 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001692/1.458, allocations: 126.8 kB / 1.359 GB, free: 94.62 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/1.458, allocations: 0.6919 MB / 1.359 GB, free: 93.91 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/1.458, allocations: 0 / 1.359 GB, free: 93.91 MB / 0.823 GB Notification: Performance of Templates: time 0.002634/1.461, allocations: 0.6847 MB / 1.36 GB, free: 93.24 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)