Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [: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.7603/0.7603, allocations: 132.4 MB / 139.7 MB, free: 15.5 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.001755/0.001755, allocations: 171.7 kB / 171.6 MB, free: 2.016 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.592/1.592, allocations: 170.5 MB / 373.9 MB, free: 15.81 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.002076/0.002076, allocations: 120.3 kB / 444.5 MB, free: 9.348 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.5743/0.5744, allocations: 73.38 MB / 0.666 GB, free: 62.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.563/6.137, allocations: 2.114 GB / 2.78 GB, free: 72.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/6.137, allocations: 79.89 kB / 2.78 GB, free: 71.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.07107/6.209, allocations: 35.78 MB / 2.815 GB, free: 35.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.08e-05/6.209, allocations: 0 / 2.815 GB, free: 35.88 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.000404/6.209, allocations: 332 kB / 2.816 GB, free: 35.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/6.209, allocations: 8.031 kB / 2.816 GB, free: 35.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/6.209, allocations: 29.98 kB / 2.816 GB, free: 35.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/6.21, allocations: 167 kB / 2.816 GB, free: 35.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/6.21, allocations: 25.7 kB / 2.816 GB, free: 35.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/6.21, allocations: 8 kB / 2.816 GB, free: 35.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001157/6.21, allocations: 15.98 kB / 2.816 GB, free: 35.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/6.21, allocations: 45.62 kB / 2.816 GB, free: 35.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/6.21, allocations: 7.984 kB / 2.816 GB, free: 35.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/6.21, allocations: 0 / 2.816 GB, free: 35.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/6.21, allocations: 0 / 2.816 GB, free: 35.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/6.211, allocations: 330.4 kB / 2.816 GB, free: 34.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.874e-05/6.211, allocations: 22.58 kB / 2.816 GB, free: 34.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/6.211, allocations: 8.859 kB / 2.816 GB, free: 34.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/6.211, allocations: 48 / 2.816 GB, free: 34.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/6.211, allocations: 34.55 kB / 2.816 GB, free: 34.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 3.287e-06/6.211, allocations: 3.984 kB / 2.816 GB, free: 34.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002655/6.211, allocations: 49.59 kB / 2.816 GB, free: 34.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/6.211, allocations: 55.41 kB / 2.816 GB, free: 34.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/6.211, allocations: 93 kB / 2.816 GB, free: 34.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/6.211, allocations: 25.7 kB / 2.816 GB, free: 34.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/6.211, allocations: 88.05 kB / 2.816 GB, free: 34.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/6.211, allocations: 11.84 kB / 2.816 GB, free: 34.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/6.211, allocations: 0 / 2.816 GB, free: 34.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/6.211, allocations: 314.8 kB / 2.817 GB, free: 34.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/6.211, allocations: 8.031 kB / 2.817 GB, free: 34.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/6.211, allocations: 22.58 kB / 2.817 GB, free: 33.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/6.211, allocations: 7.984 kB / 2.817 GB, free: 33.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/6.211, allocations: 0 / 2.817 GB, free: 33.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.728e-05/6.212, allocations: 45.64 kB / 2.817 GB, free: 33.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/6.212, allocations: 8.094 kB / 2.817 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/6.212, allocations: 3.938 kB / 2.817 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/6.212, allocations: 4 kB / 2.817 GB, free: 33.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/6.212, allocations: 11.92 kB / 2.817 GB, free: 33.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/6.212, allocations: 3.906 kB / 2.817 GB, free: 33.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/6.212, allocations: 4 kB / 2.817 GB, free: 33.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/6.212, allocations: 0 / 2.817 GB, free: 33.89 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 7.366e-05/6.212, allocations: 105.9 kB / 2.817 GB, free: 33.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/6.212, allocations: 7.906 kB / 2.817 GB, free: 33.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/6.212, allocations: 7.156 kB / 2.817 GB, free: 33.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/6.212, allocations: 0 / 2.817 GB, free: 33.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/6.212, allocations: 0 / 2.817 GB, free: 33.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/6.212, allocations: 0 / 2.817 GB, free: 33.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/6.212, allocations: 327.2 kB / 2.817 GB, free: 33.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/6.212, allocations: 0 / 2.817 GB, free: 33.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/6.212, allocations: 4 kB / 2.817 GB, free: 33.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/6.212, allocations: 3.938 kB / 2.817 GB, free: 33.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/6.212, allocations: 3.938 kB / 2.817 GB, free: 33.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/6.212, allocations: 4.031 kB / 2.817 GB, free: 33.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/6.212, allocations: 0 / 2.817 GB, free: 33.39 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.811e-05/6.212, allocations: 53.05 kB / 2.817 GB, free: 33.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/6.212, allocations: 85.09 kB / 2.817 GB, free: 33.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/6.212, allocations: 0 / 2.817 GB, free: 33.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/6.212, allocations: 0 / 2.817 GB, free: 33.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/6.213, allocations: 0 / 2.817 GB, free: 33.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/6.213, allocations: 8.031 kB / 2.817 GB, free: 33.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.774e-05/6.213, allocations: 83.28 kB / 2.818 GB, free: 33.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003065/6.213, allocations: 35.98 kB / 2.818 GB, free: 33.09 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.0009197/6.214, allocations: 0.6528 MB / 2.818 GB, free: 32.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.484e-05/6.214, allocations: 11.94 kB / 2.818 GB, free: 32.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/6.214, allocations: 0 / 2.818 GB, free: 32.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.261e-06/6.214, allocations: 4 kB / 2.818 GB, free: 32.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/6.214, allocations: 4 kB / 2.818 GB, free: 32.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/6.214, allocations: 60.11 kB / 2.818 GB, free: 32.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/6.215, allocations: 0.6841 MB / 2.819 GB, free: 31.63 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/6.215, allocations: 0 / 2.819 GB, free: 31.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.007607/6.222, allocations: 3.645 MB / 2.823 GB, free: 28 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)