Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.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.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation") [: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.7738/0.7738, 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.00119/0.00119, allocations: 172.3 kB / 171.6 MB, free: 2.012 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.617/1.617, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.001959/0.001959, allocations: 110.4 kB / 444.4 MB, free: 9.359 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.5659/0.5659, allocations: 73.39 MB / 0.666 GB, free: 62.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.37/11.94, allocations: 4.627 GB / 5.293 GB, free: 4.48 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/11.94, allocations: 80.7 kB / 5.293 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.9524/12.89, allocations: 250 MB / 5.538 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.746e-05/12.89, allocations: 8 kB / 5.538 GB, free: 11.12 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002842/12.89, allocations: 0.7578 MB / 5.538 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/12.89, allocations: 8.031 kB / 5.538 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006277/12.89, allocations: 55.52 kB / 5.538 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/12.9, allocations: 330.3 kB / 5.539 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/12.9, allocations: 15.94 kB / 5.539 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/12.9, allocations: 20 kB / 5.539 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008109/12.9, allocations: 357.4 kB / 5.539 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/12.9, allocations: 342 kB / 5.539 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/12.9, allocations: 4 kB / 5.539 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/12.9, allocations: 3.906 kB / 5.539 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/12.9, allocations: 8 kB / 5.539 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/12.9, allocations: 1.481 MB / 5.541 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/12.9, allocations: 221.8 kB / 5.541 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/12.9, allocations: 147.2 kB / 5.541 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.484e-05/12.9, allocations: 4 kB / 5.541 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/12.9, allocations: 38.56 kB / 5.541 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.116e-06/12.9, allocations: 0 / 5.541 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.003606/12.9, allocations: 1.26 MB / 5.543 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/12.9, allocations: 55.41 kB / 5.543 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/12.9, allocations: 220.1 kB / 5.543 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/12.9, allocations: 25.7 kB / 5.543 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/12.9, allocations: 192.1 kB / 5.543 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/12.9, allocations: 134 kB / 5.543 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/12.9, allocations: 0 / 5.543 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001044/12.9, allocations: 348.1 kB / 5.543 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/12.91, allocations: 156.8 kB / 5.544 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/12.91, allocations: 199.3 kB / 5.544 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/12.91, allocations: 184.7 kB / 5.544 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/12.91, allocations: 0 / 5.544 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008649/12.91, allocations: 0.5129 MB / 5.544 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/12.91, allocations: 8 kB / 5.544 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/12.91, allocations: 0 / 5.544 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/12.91, allocations: 102.5 kB / 5.545 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/12.91, allocations: 115.9 kB / 5.545 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3383/13.25, allocations: 3.961 MB / 5.549 GB, free: 211 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/13.25, allocations: 28.14 kB / 5.549 GB, free: 211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/13.25, allocations: 11.44 kB / 5.549 GB, free: 211 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002909/13.25, allocations: 134.1 kB / 5.549 GB, free: 210.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/13.25, allocations: 28.97 kB / 5.549 GB, free: 210.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/13.25, allocations: 44.95 kB / 5.549 GB, free: 210.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/13.25, allocations: 3.938 kB / 5.549 GB, free: 210.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/13.25, allocations: 2.906 kB / 5.549 GB, free: 210.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007647/13.25, allocations: 0.6309 MB / 5.549 GB, free: 210.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/13.25, allocations: 1.043 MB / 5.55 GB, free: 210.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/13.25, allocations: 1.594 kB / 5.55 GB, free: 210.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/13.25, allocations: 115.7 kB / 5.551 GB, free: 210.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002005/13.25, allocations: 61.22 kB / 5.551 GB, free: 210.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/13.25, allocations: 9.562 kB / 5.551 GB, free: 210.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/13.25, allocations: 1.499 MB / 5.552 GB, free: 209 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/13.25, allocations: 6.656 kB / 5.552 GB, free: 209 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001091/13.25, allocations: 0.7982 MB / 5.553 GB, free: 208.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/13.25, allocations: 162.8 kB / 5.553 GB, free: 208.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/13.25, allocations: 3.969 kB / 5.553 GB, free: 208.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/13.25, allocations: 30.09 kB / 5.553 GB, free: 208.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/13.25, allocations: 22.27 kB / 5.553 GB, free: 208.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/13.25, allocations: 23.14 kB / 5.553 GB, free: 208.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0001733/13.25, allocations: 180.9 kB / 5.553 GB, free: 208.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001033/13.25, allocations: 195.7 kB / 5.553 GB, free: 208.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001422/13.26, allocations: 1.167 MB / 5.555 GB, free: 208.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009937/13.26, allocations: 0.6796 MB / 5.555 GB, free: 208.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/13.26, allocations: 0 / 5.555 GB, free: 208.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004602/13.26, allocations: 312 kB / 5.556 GB, free: 208 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009479/13.26, allocations: 154.9 kB / 5.556 GB, free: 208 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/13.26, allocations: 0.8523 MB / 5.557 GB, free: 207.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/13.26, allocations: 0.8723 MB / 5.557 GB, free: 207.1 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/13.26, allocations: 0 / 5.557 GB, free: 207.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.02381/13.29, allocations: 14.48 MB / 5.572 GB, free: 206.8 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation.pipe 2>&1)