Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [: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 3.0.0/package.mo): time 0.7718/0.7718, allocations: 132.4 MB / 139.7 MB, free: 15.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001623/0.001623, allocations: 175.2 kB / 171.6 MB, free: 2 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.71/1.71, allocations: 170.5 MB / 373.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002037/0.002037, allocations: 116.5 kB / 444.4 MB, free: 9.367 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.508/0.508, allocations: 73.39 MB / 0.666 GB, free: 62.67 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.66/12.17, allocations: 4.624 GB / 5.29 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/12.17, allocations: 79.95 kB / 5.29 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.487/12.66, allocations: 44.44 MB / 5.334 GB, free: 201.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.252e-06/12.66, allocations: 0 / 5.334 GB, free: 201.9 MB / 0.6198 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.0003235/12.66, allocations: 337.6 kB / 5.334 GB, free: 201.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/12.66, allocations: 11.53 kB / 5.334 GB, free: 201.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002834/12.66, allocations: 16.97 kB / 5.334 GB, free: 201.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/12.66, allocations: 169 kB / 5.334 GB, free: 201.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/12.66, allocations: 36.7 kB / 5.334 GB, free: 201.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/12.66, allocations: 0 / 5.334 GB, free: 201.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001023/12.66, allocations: 21.2 kB / 5.334 GB, free: 201.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.04e-05/12.66, allocations: 48.31 kB / 5.334 GB, free: 201.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/12.66, allocations: 0 / 5.334 GB, free: 201.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/12.66, allocations: 0 / 5.334 GB, free: 201.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/12.66, allocations: 0 / 5.334 GB, free: 201.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/12.66, allocations: 235.9 kB / 5.335 GB, free: 201.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.61e-05/12.66, allocations: 22.55 kB / 5.335 GB, free: 201 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/12.66, allocations: 12.73 kB / 5.335 GB, free: 201 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/12.66, allocations: 0 / 5.335 GB, free: 201 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/12.66, allocations: 30.56 kB / 5.335 GB, free: 201 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/12.66, allocations: 4.688 kB / 5.335 GB, free: 201 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/12.66, allocations: 33.55 kB / 5.335 GB, free: 200.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/12.66, allocations: 55.34 kB / 5.335 GB, free: 200.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/12.66, allocations: 99.72 kB / 5.335 GB, free: 200.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/12.66, allocations: 25.7 kB / 5.335 GB, free: 200.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/12.66, allocations: 89.89 kB / 5.335 GB, free: 200.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/12.66, allocations: 3.906 kB / 5.335 GB, free: 200.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/12.66, allocations: 0 / 5.335 GB, free: 200.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.222e-05/12.66, allocations: 318.5 kB / 5.335 GB, free: 200.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/12.66, allocations: 6.156 kB / 5.335 GB, free: 200.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/12.66, allocations: 18.52 kB / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/12.66, allocations: 11.16 kB / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/12.66, allocations: 0 / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/12.66, allocations: 49.44 kB / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/12.66, allocations: 3.875 kB / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/12.66, allocations: 3.875 kB / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/12.66, allocations: 0 / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/12.66, allocations: 7.688 kB / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/12.66, allocations: 10.12 kB / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/12.66, allocations: 3.906 kB / 5.335 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/12.66, allocations: 7.281 kB / 5.335 GB, free: 200.3 MB / 0.6198 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.888e-05/12.66, allocations: 107.6 kB / 5.335 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/12.66, allocations: 3.906 kB / 5.335 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/12.66, allocations: 10.81 kB / 5.335 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/12.66, allocations: 0 / 5.335 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/12.66, allocations: 0 / 5.335 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/12.66, allocations: 0 / 5.335 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/12.66, allocations: 329.9 kB / 5.336 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/12.66, allocations: 3.516 kB / 5.336 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-05/12.66, allocations: 0 / 5.336 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/12.66, allocations: 3.688 kB / 5.336 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/12.66, allocations: 0 / 5.336 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/12.66, allocations: 0 / 5.336 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/12.66, allocations: 0 / 5.336 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.161e-05/12.66, allocations: 69.14 kB / 5.336 GB, free: 199.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/12.66, allocations: 80.91 kB / 5.336 GB, free: 199.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/12.66, allocations: 288 / 5.336 GB, free: 199.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/12.66, allocations: 3.688 kB / 5.336 GB, free: 199.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/12.66, allocations: 0 / 5.336 GB, free: 199.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/12.66, allocations: 0 / 5.336 GB, free: 199.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.236e-05/12.66, allocations: 82.86 kB / 5.336 GB, free: 199.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003719/12.66, allocations: 36 kB / 5.336 GB, free: 199.6 MB / 0.6198 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 (1): * Single equations (assignments): 1 * 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.001108/12.67, allocations: 0.6649 MB / 5.337 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.715e-05/12.67, allocations: 14 kB / 5.337 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/12.67, allocations: 0 / 5.337 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-06/12.67, allocations: 4.625 kB / 5.337 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/12.67, allocations: 8.156 kB / 5.337 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000133/12.67, allocations: 57.7 kB / 5.337 GB, free: 199.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/12.67, allocations: 0.6864 MB / 5.337 GB, free: 198.6 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/12.67, allocations: 0 / 5.337 GB, free: 198.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.01137/12.68, allocations: 3.748 MB / 5.341 GB, free: 198 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)