Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion") [: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 1.6.0+build.1/package.mo): time 0.4945/0.4945, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001201/0.0012, allocations: 179.9 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.38/1.38, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001684/0.001684, allocations: 112 kB / 381 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.292e-06/6.312e-06, allocations: 0 / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1709, allocations: 61.51 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.3/11.47, allocations: 4.462 GB / 4.96 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/11.47, allocations: 79.95 kB / 4.961 GB, free: 53.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1007/11.57, allocations: 52.52 MB / 5.012 GB, free: 312 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.045e-05/11.57, allocations: 4 kB / 5.012 GB, free: 308 kB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.2619/11.84, allocations: 409.4 kB / 5.012 GB, free: 218.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/11.84, allocations: 6.625 kB / 5.012 GB, free: 218.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/11.84, allocations: 3.344 kB / 5.012 GB, free: 218.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/11.84, allocations: 160 kB / 5.012 GB, free: 218.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/11.84, allocations: 31.98 kB / 5.012 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/11.84, allocations: 0 / 5.012 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/11.84, allocations: 19.8 kB / 5.012 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.613e-05/11.84, allocations: 42.38 kB / 5.012 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/11.84, allocations: 5.062 kB / 5.012 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/11.84, allocations: 0 / 5.012 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/11.84, allocations: 5.281 kB / 5.012 GB, free: 218.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/11.84, allocations: 238.3 kB / 5.013 GB, free: 218.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/11.84, allocations: 30.19 kB / 5.013 GB, free: 218.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/11.84, allocations: 4.859 kB / 5.013 GB, free: 218.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/11.84, allocations: 3.938 kB / 5.013 GB, free: 218.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/11.84, allocations: 30.56 kB / 5.013 GB, free: 218.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/11.84, allocations: 3.938 kB / 5.013 GB, free: 218.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001817/11.84, allocations: 33.58 kB / 5.013 GB, free: 218.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/11.84, allocations: 51.41 kB / 5.013 GB, free: 218 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/11.84, allocations: 100.2 kB / 5.013 GB, free: 217.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/11.84, allocations: 25.7 kB / 5.013 GB, free: 217.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/11.84, allocations: 91.59 kB / 5.013 GB, free: 217.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/11.84, allocations: 3.906 kB / 5.013 GB, free: 217.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/11.84, allocations: 3.969 kB / 5.013 GB, free: 217.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/11.84, allocations: 317.2 kB / 5.013 GB, free: 217.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/11.84, allocations: 12.31 kB / 5.013 GB, free: 217.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/11.84, allocations: 22.33 kB / 5.013 GB, free: 217.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/11.84, allocations: 7.781 kB / 5.013 GB, free: 217.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/11.84, allocations: 2.188 kB / 5.013 GB, free: 217.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.108e-05/11.84, allocations: 53.02 kB / 5.013 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/11.84, allocations: 3.938 kB / 5.013 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/11.84, allocations: 0 / 5.013 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/11.84, allocations: 6.812 kB / 5.013 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.295e-05/11.84, allocations: 11.72 kB / 5.014 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/11.84, allocations: 0 / 5.014 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/11.84, allocations: 3.781 kB / 5.014 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/11.84, allocations: 3.469 kB / 5.014 GB, free: 217.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.468e-05/11.84, allocations: 103.7 kB / 5.014 GB, free: 217.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/11.84, allocations: 10.72 kB / 5.014 GB, free: 217.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/11.84, allocations: 123.6 kB / 5.014 GB, free: 217.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/11.84, allocations: 182.8 kB / 5.014 GB, free: 217 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.273e-05/11.84, allocations: 182.5 kB / 5.014 GB, free: 216.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.535e-05/11.84, allocations: 178 kB / 5.014 GB, free: 216.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/11.84, allocations: 387 kB / 5.015 GB, free: 216.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/11.84, allocations: 104.9 kB / 5.015 GB, free: 216.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/11.84, allocations: 111.4 kB / 5.015 GB, free: 216 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-05/11.84, allocations: 176.3 kB / 5.015 GB, free: 215.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/11.84, allocations: 176.3 kB / 5.015 GB, free: 215.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.575e-05/11.84, allocations: 185.6 kB / 5.015 GB, free: 215.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.196e-05/11.84, allocations: 194.2 kB / 5.016 GB, free: 215.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.146e-05/11.84, allocations: 302.2 kB / 5.016 GB, free: 215 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/11.84, allocations: 188.4 kB / 5.016 GB, free: 214.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/11.84, allocations: 177.9 kB / 5.016 GB, free: 214.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/11.84, allocations: 111.7 kB / 5.016 GB, free: 214.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/11.84, allocations: 180.1 kB / 5.016 GB, free: 214.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/11.84, allocations: 101 kB / 5.017 GB, free: 214.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.943e-05/11.84, allocations: 84.59 kB / 5.017 GB, free: 214.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006838/11.84, allocations: 145.2 kB / 5.017 GB, free: 214.2 MB / 0.5261 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.001367/11.84, allocations: 0.9068 MB / 5.018 GB, free: 214 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.42e-05/11.84, allocations: 15.67 kB / 5.018 GB, free: 214 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/11.84, allocations: 0 / 5.018 GB, free: 214 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/11.84, allocations: 0 / 5.018 GB, free: 214 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/11.84, allocations: 0.5272 MB / 5.018 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/11.84, allocations: 129.2 kB / 5.018 GB, free: 213.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/11.84, allocations: 0.6912 MB / 5.019 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.893e-06/11.84, allocations: 0 / 5.019 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.00898/11.85, allocations: 5.182 MB / 5.024 GB, free: 212.3 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirTemperatureEnthalpyInversion.pipe 2>&1)