Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7957/0.7957, 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.001315/0.001315, allocations: 165.4 kB / 171.6 MB, free: 2.004 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.593/1.593, allocations: 170.5 MB / 373.9 MB, free: 15.93 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.00177/0.00177, allocations: 104.1 kB / 444.4 MB, free: 9.453 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.5563/0.5564, allocations: 73.4 MB / 0.666 GB, free: 62.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8288/1.385, allocations: 335.2 MB / 0.9934 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/1.386, allocations: 68.97 kB / 0.9934 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.02055/1.406, allocations: 10.96 MB / 1.004 GB, free: 93.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.125e-06/1.406, allocations: 0 / 1.004 GB, free: 93.45 MB / 0.5886 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.0002465/1.406, allocations: 331.8 kB / 1.004 GB, free: 93.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.406, allocations: 8.031 kB / 1.004 GB, free: 93.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/1.406, allocations: 2.031 kB / 1.004 GB, free: 93.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.407, allocations: 163.1 kB / 1.005 GB, free: 92.88 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/1.407, allocations: 29.7 kB / 1.005 GB, free: 92.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/1.407, allocations: 0 / 1.005 GB, free: 92.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001015/1.407, allocations: 22.52 kB / 1.005 GB, free: 92.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.012e-05/1.407, allocations: 44.86 kB / 1.005 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.407, allocations: 0 / 1.005 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.407, allocations: 0 / 1.005 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/1.407, allocations: 0 / 1.005 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/1.407, allocations: 316.7 kB / 1.005 GB, free: 92.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 2.699e-05/1.407, allocations: 14.58 kB / 1.005 GB, free: 92.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/1.408, allocations: 4.859 kB / 1.005 GB, free: 92.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/1.408, allocations: 90.05 kB / 1.005 GB, free: 92.28 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/1.408, allocations: 34.5 kB / 1.005 GB, free: 92.24 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.824e-06/1.408, allocations: 0 / 1.005 GB, free: 92.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002021/1.408, allocations: 36.7 kB / 1.005 GB, free: 92.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/1.408, allocations: 59.39 kB / 1.005 GB, free: 92.13 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/1.408, allocations: 89 kB / 1.005 GB, free: 92.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/1.408, allocations: 29.39 kB / 1.005 GB, free: 92 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/1.408, allocations: 84.05 kB / 1.005 GB, free: 91.92 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-06/1.408, allocations: 3.906 kB / 1.005 GB, free: 91.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/1.408, allocations: 6.188 kB / 1.005 GB, free: 91.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/1.408, allocations: 310.8 kB / 1.006 GB, free: 91.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/1.408, allocations: 12.02 kB / 1.006 GB, free: 91.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/1.408, allocations: 17.66 kB / 1.006 GB, free: 91.57 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/1.408, allocations: 4 kB / 1.006 GB, free: 91.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.408, allocations: 0 / 1.006 GB, free: 91.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.69e-05/1.408, allocations: 53.06 kB / 1.006 GB, free: 91.51 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.408, allocations: 7.984 kB / 1.006 GB, free: 91.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.408, allocations: 0 / 1.006 GB, free: 91.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.408, allocations: 11.78 kB / 1.006 GB, free: 91.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/1.408, allocations: 8 kB / 1.006 GB, free: 91.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/1.408, allocations: 1.172 kB / 1.006 GB, free: 91.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/1.408, allocations: 0 / 1.006 GB, free: 91.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/1.408, allocations: 4 kB / 1.006 GB, free: 91.48 MB / 0.5886 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 6.407e-05/1.409, allocations: 103.6 kB / 1.006 GB, free: 91.38 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/1.409, allocations: 7.844 kB / 1.006 GB, free: 91.37 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/1.409, allocations: 122.6 kB / 1.006 GB, free: 91.24 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-05/1.409, allocations: 176.3 kB / 1.006 GB, free: 91.06 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.736e-05/1.409, allocations: 187.6 kB / 1.006 GB, free: 90.88 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.308e-05/1.409, allocations: 176.3 kB / 1.007 GB, free: 90.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/1.409, allocations: 377.8 kB / 1.007 GB, free: 90.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/1.409, allocations: 108.9 kB / 1.007 GB, free: 90.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/1.409, allocations: 109 kB / 1.007 GB, free: 90.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.975e-05/1.409, allocations: 187.4 kB / 1.007 GB, free: 89.87 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/1.409, allocations: 181.5 kB / 1.008 GB, free: 89.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.535e-05/1.409, allocations: 180.3 kB / 1.008 GB, free: 89.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.297e-05/1.409, allocations: 178.2 kB / 1.008 GB, free: 89.32 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.801e-05/1.409, allocations: 311.5 kB / 1.008 GB, free: 89 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/1.409, allocations: 182 kB / 1.008 GB, free: 88.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/1.409, allocations: 184.2 kB / 1.009 GB, free: 88.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/1.41, allocations: 105 kB / 1.009 GB, free: 88.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/1.41, allocations: 180.3 kB / 1.009 GB, free: 88.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/1.41, allocations: 104.9 kB / 1.009 GB, free: 88.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.001e-05/1.41, allocations: 82.88 kB / 1.009 GB, free: 88.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002514/1.41, allocations: 27.92 kB / 1.009 GB, free: 88.1 MB / 0.5886 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.0002367/1.41, allocations: 202.6 kB / 1.009 GB, free: 87.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.278e-05/1.41, allocations: 15.38 kB / 1.009 GB, free: 87.88 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.41, allocations: 3.938 kB / 1.009 GB, free: 87.88 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/1.41, allocations: 0 / 1.009 GB, free: 87.88 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/1.411, allocations: 0.5256 MB / 1.01 GB, free: 87.35 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/1.411, allocations: 128.1 kB / 1.01 GB, free: 87.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.411, allocations: 0.6841 MB / 1.011 GB, free: 86.49 MB / 0.5886 GB Notification: Performance of SimCode: time 2.41e-07/1.411, allocations: 0 / 1.011 GB, free: 86.49 MB / 0.5886 GB Notification: Performance of Templates: time 0.00266/1.414, allocations: 0.6955 MB / 1.011 GB, free: 85.83 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)