Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.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.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") translateModel(Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion") [: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.5316/0.5316, 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.001627/0.001627, allocations: 177.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.569/1.569, allocations: 170.5 MB / 319 MB, free: 9.348 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.001823/0.001823, allocations: 104.3 kB / 381 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/8.056e-06, allocations: 0 / 448.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1939, allocations: 61.52 MB / 0.4981 GB, free: 4.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.08/12.27, allocations: 5.279 GB / 5.777 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/12.27, allocations: 81.7 kB / 5.777 GB, free: 178.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.1399/12.41, allocations: 61.01 MB / 5.836 GB, free: 161.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.163e-06/12.41, allocations: 0 / 5.836 GB, free: 161.4 MB / 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.000391/12.41, allocations: 378.2 kB / 5.837 GB, free: 161 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/12.41, allocations: 8.031 kB / 5.837 GB, free: 161 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/12.41, allocations: 0 / 5.837 GB, free: 161 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/12.41, allocations: 168.6 kB / 5.837 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/12.41, allocations: 29.7 kB / 5.837 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/12.41, allocations: 2.656 kB / 5.837 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.548e-05/12.41, allocations: 19.98 kB / 5.837 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/12.42, allocations: 45.69 kB / 5.837 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/12.42, allocations: 5.672 kB / 5.837 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/12.42, allocations: 0 / 5.837 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/12.42, allocations: 3.938 kB / 5.837 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/12.42, allocations: 331.9 kB / 5.837 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.114e-05/12.42, allocations: 22.58 kB / 5.837 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/12.42, allocations: 12.86 kB / 5.837 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/12.42, allocations: 0 / 5.837 GB, free: 160.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/12.42, allocations: 30.56 kB / 5.837 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/12.42, allocations: 0 / 5.837 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002279/12.42, allocations: 41.59 kB / 5.837 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/12.42, allocations: 59.38 kB / 5.837 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/12.42, allocations: 100.9 kB / 5.838 GB, free: 160 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/12.42, allocations: 25.7 kB / 5.838 GB, free: 160 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/12.42, allocations: 88.03 kB / 5.838 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-06/12.42, allocations: 3.906 kB / 5.838 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-06/12.42, allocations: 0 / 5.838 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.363e-05/12.42, allocations: 318.8 kB / 5.838 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/12.42, allocations: 4 kB / 5.838 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/12.42, allocations: 27.78 kB / 5.838 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/12.42, allocations: 15.98 kB / 5.838 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/12.42, allocations: 0 / 5.838 GB, free: 159.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001372/12.42, allocations: 61.59 kB / 5.838 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/12.42, allocations: 8 kB / 5.838 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/12.42, allocations: 3.906 kB / 5.838 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/12.42, allocations: 0 / 5.838 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/12.42, allocations: 16.09 kB / 5.838 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/12.42, allocations: 0 / 5.838 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/12.42, allocations: 0 / 5.838 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/12.42, allocations: 4 kB / 5.838 GB, free: 159.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 5.63e-05/12.42, allocations: 107.8 kB / 5.838 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/12.42, allocations: 15.89 kB / 5.838 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/12.42, allocations: 121.6 kB / 5.838 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/12.42, allocations: 176.3 kB / 5.839 GB, free: 159 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.308e-05/12.42, allocations: 180.2 kB / 5.839 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-05/12.42, allocations: 180.2 kB / 5.839 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/12.42, allocations: 385.7 kB / 5.839 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/12.42, allocations: 112.9 kB / 5.839 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/12.42, allocations: 105 kB / 5.839 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.321e-05/12.42, allocations: 177.7 kB / 5.84 GB, free: 157.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/12.42, allocations: 180.2 kB / 5.84 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.149e-05/12.42, allocations: 176.3 kB / 5.84 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.435e-05/12.42, allocations: 189.9 kB / 5.84 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.738e-05/12.42, allocations: 315.7 kB / 5.84 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/12.42, allocations: 182.1 kB / 5.841 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/12.42, allocations: 180.2 kB / 5.841 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/12.42, allocations: 109 kB / 5.841 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/12.42, allocations: 180.3 kB / 5.841 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/12.42, allocations: 104.9 kB / 5.841 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.303e-05/12.42, allocations: 87.27 kB / 5.841 GB, free: 156 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004121/12.42, allocations: 83.86 kB / 5.841 GB, free: 155.9 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.001105/12.42, allocations: 0.8447 MB / 5.842 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.692e-05/12.42, allocations: 16 kB / 5.842 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/12.42, allocations: 5.906 kB / 5.842 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/12.42, allocations: 0 / 5.842 GB, free: 155.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/12.42, allocations: 0.5223 MB / 5.843 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/12.42, allocations: 128.8 kB / 5.843 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/12.42, allocations: 0.6882 MB / 5.843 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/12.42, allocations: 0 / 5.843 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.00794/12.43, allocations: 4.565 MB / 5.848 GB, free: 149.2 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.MoistAirUnsaturatedTemperatureEnthalpyInversion.pipe 2>&1)