Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.211/2.211, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002127/0.002127, allocations: 185.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.2 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001234, allocations: 89.14 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.255e-06, allocations: 0 / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7229/0.7229, allocations: 115.2 MB / 0.9628 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.954/1.677, allocations: 376.8 MB / 1.331 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.677, allocations: 71.91 kB / 1.331 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.0388/1.716, allocations: 11.72 MB / 1.342 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.716, allocations: 0 / 1.342 GB, free: 179.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.0003509/1.717, allocations: 326.3 kB / 1.343 GB, free: 179 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.717, allocations: 16.03 kB / 1.343 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/1.717, allocations: 4.656 kB / 1.343 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.756e-05/1.717, allocations: 159.1 kB / 1.343 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/1.717, allocations: 33.64 kB / 1.343 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/1.717, allocations: 3.984 kB / 1.343 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.562e-05/1.717, allocations: 8 kB / 1.343 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.84e-05/1.717, allocations: 41.44 kB / 1.343 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.717, allocations: 0 / 1.343 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.717, allocations: 0 / 1.343 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/1.717, allocations: 0.6562 kB / 1.343 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/1.718, allocations: 317.5 kB / 1.343 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.162e-05/1.718, allocations: 18.52 kB / 1.343 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/1.718, allocations: 4.859 kB / 1.343 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/1.718, allocations: 89.16 kB / 1.343 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/1.718, allocations: 30.56 kB / 1.343 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/1.718, allocations: 4 kB / 1.343 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001902/1.718, allocations: 41.81 kB / 1.343 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/1.718, allocations: 55.41 kB / 1.343 GB, free: 178 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/1.718, allocations: 89 kB / 1.343 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/1.718, allocations: 25.7 kB / 1.343 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/1.718, allocations: 91.78 kB / 1.343 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-06/1.718, allocations: 0 / 1.343 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/1.718, allocations: 4 kB / 1.343 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.976e-05/1.718, allocations: 318.8 kB / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/1.718, allocations: 0 / 1.344 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/1.718, allocations: 26.11 kB / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.802e-05/1.718, allocations: 11.98 kB / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.718, allocations: 0 / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001348/1.719, allocations: 45.31 kB / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.719, allocations: 4.781 kB / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.719, allocations: 8.062 kB / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.719, allocations: 0 / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/1.719, allocations: 4 kB / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.719, allocations: 7.875 kB / 1.344 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/1.719, allocations: 16.39 kB / 1.344 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/1.719, allocations: 1.062 kB / 1.344 GB, free: 177.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.289e-05/1.719, allocations: 106.4 kB / 1.344 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/1.719, allocations: 4 kB / 1.344 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/1.719, allocations: 119.5 kB / 1.344 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/1.719, allocations: 188.1 kB / 1.344 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.404e-05/1.719, allocations: 181 kB / 1.344 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/1.719, allocations: 176.3 kB / 1.345 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/1.719, allocations: 389.7 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.719, allocations: 101 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/1.719, allocations: 102.6 kB / 1.345 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.694e-05/1.719, allocations: 191.8 kB / 1.345 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/1.72, allocations: 176.3 kB / 1.346 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.381e-05/1.72, allocations: 180.2 kB / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.886e-05/1.72, allocations: 184.8 kB / 1.346 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.985e-05/1.72, allocations: 303.5 kB / 1.346 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/1.72, allocations: 191.3 kB / 1.346 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/1.72, allocations: 180.2 kB / 1.347 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/1.72, allocations: 113 kB / 1.347 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/1.72, allocations: 180.2 kB / 1.347 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/1.72, allocations: 106 kB / 1.347 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.787e-05/1.72, allocations: 84.97 kB / 1.347 GB, free: 174 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003558/1.721, allocations: 16 kB / 1.347 GB, free: 174 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.0002395/1.721, allocations: 198.5 kB / 1.347 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.469e-05/1.721, allocations: 11.88 kB / 1.347 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.721, allocations: 0 / 1.347 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/1.721, allocations: 3.938 kB / 1.347 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/1.721, allocations: 0.5241 MB / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/1.721, allocations: 129.3 kB / 1.348 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/1.722, allocations: 0.688 MB / 1.349 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/1.722, allocations: 0 / 1.349 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003664/1.725, allocations: 0.7097 MB / 1.349 GB, free: 171.7 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)