Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [: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.8013/0.8013, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.001394/0.001394, allocations: 167.5 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.659/1.659, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001829/0.001829, allocations: 107.5 kB / 444.4 MB, free: 9.379 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.4975/0.4975, allocations: 73.39 MB / 0.666 GB, free: 62.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.28/11.78, allocations: 4.625 GB / 5.291 GB, free: 3.777 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/11.78, allocations: 84.69 kB / 5.291 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.4876/12.26, allocations: 35.79 MB / 5.326 GB, free: 211.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.556e-06/12.26, allocations: 2.625 kB / 5.326 GB, free: 211.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003341/12.26, allocations: 347.3 kB / 5.326 GB, free: 211.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/12.26, allocations: 10.5 kB / 5.326 GB, free: 211.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/12.26, allocations: 15.09 kB / 5.326 GB, free: 211.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/12.26, allocations: 165.7 kB / 5.326 GB, free: 211.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/12.26, allocations: 4 kB / 5.326 GB, free: 211.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/12.26, allocations: 9.25 kB / 5.326 GB, free: 211.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.012e-05/12.26, allocations: 11.75 kB / 5.326 GB, free: 211.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.605e-05/12.26, allocations: 43.95 kB / 5.326 GB, free: 211.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/12.26, allocations: 3.938 kB / 5.326 GB, free: 211.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/12.26, allocations: 0 / 5.326 GB, free: 211.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/12.26, allocations: 0 / 5.326 GB, free: 211.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/12.26, allocations: 143 kB / 5.326 GB, free: 211.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/12.26, allocations: 48.33 kB / 5.326 GB, free: 211.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/12.26, allocations: 12.95 kB / 5.326 GB, free: 211.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/12.26, allocations: 0 / 5.326 GB, free: 211.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/12.26, allocations: 33.03 kB / 5.326 GB, free: 211 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/12.26, allocations: 0 / 5.326 GB, free: 211 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0007008/12.27, allocations: 333.6 kB / 5.327 GB, free: 210.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/12.27, allocations: 57.94 kB / 5.327 GB, free: 210.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.413e-05/12.27, allocations: 88.89 kB / 5.327 GB, free: 210.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/12.27, allocations: 28.52 kB / 5.327 GB, free: 210.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/12.27, allocations: 80.14 kB / 5.327 GB, free: 210.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/12.27, allocations: 40.78 kB / 5.327 GB, free: 210.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-06/12.27, allocations: 0.75 kB / 5.327 GB, free: 210.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/12.27, allocations: 314.6 kB / 5.327 GB, free: 210.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-05/12.27, allocations: 14.34 kB / 5.327 GB, free: 210.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/12.27, allocations: 35.16 kB / 5.327 GB, free: 210.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/12.27, allocations: 25.48 kB / 5.327 GB, free: 210.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/12.27, allocations: 0 / 5.327 GB, free: 210.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001246/12.27, allocations: 88.81 kB / 5.328 GB, free: 210 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/12.27, allocations: 7.875 kB / 5.328 GB, free: 210 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/12.27, allocations: 4.969 kB / 5.328 GB, free: 210 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/12.27, allocations: 0 / 5.328 GB, free: 210 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/12.27, allocations: 18.06 kB / 5.328 GB, free: 210 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/12.27, allocations: 3.031 kB / 5.328 GB, free: 210 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/12.27, allocations: 4 kB / 5.328 GB, free: 210 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/12.27, allocations: 14.14 kB / 5.328 GB, free: 210 MB / 0.6198 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 (14): * Single equations (assignments): 14 * 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.296e-05/12.27, allocations: 101.9 kB / 5.328 GB, free: 209.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/12.27, allocations: 8.75 kB / 5.328 GB, free: 209.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/12.27, allocations: 7.906 kB / 5.328 GB, free: 209.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/12.27, allocations: 3.875 kB / 5.328 GB, free: 209.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/12.27, allocations: 0 / 5.328 GB, free: 209.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/12.27, allocations: 0 / 5.328 GB, free: 209.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.084e-05/12.27, allocations: 143.7 kB / 5.328 GB, free: 209.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/12.27, allocations: 4 kB / 5.328 GB, free: 209.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/12.27, allocations: 19.09 kB / 5.328 GB, free: 209.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/12.27, allocations: 3.891 kB / 5.328 GB, free: 209.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/12.27, allocations: 0 / 5.328 GB, free: 209.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/12.27, allocations: 2.688 kB / 5.328 GB, free: 209.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/12.27, allocations: 7.922 kB / 5.328 GB, free: 209.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001777/12.27, allocations: 128.8 kB / 5.328 GB, free: 209.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/12.27, allocations: 83.7 kB / 5.328 GB, free: 209.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/12.27, allocations: 8 kB / 5.328 GB, free: 209.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/12.27, allocations: 6.078 kB / 5.328 GB, free: 209.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/12.27, allocations: 2.656 kB / 5.328 GB, free: 209.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/12.27, allocations: 11.42 kB / 5.328 GB, free: 209.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.92e-05/12.27, allocations: 76.78 kB / 5.328 GB, free: 209.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002928/12.27, allocations: 47.25 kB / 5.328 GB, free: 209.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009144/12.27, allocations: 0.6624 MB / 5.329 GB, free: 209.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000126/12.27, allocations: 48.22 kB / 5.329 GB, free: 209.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/12.27, allocations: 2.719 kB / 5.329 GB, free: 209.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.393e-05/12.27, allocations: 24.45 kB / 5.329 GB, free: 209.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/12.27, allocations: 10.66 kB / 5.329 GB, free: 209.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/12.27, allocations: 267.2 kB / 5.329 GB, free: 209 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/12.27, allocations: 0.7005 MB / 5.33 GB, free: 208.3 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/12.27, allocations: 0 / 5.33 GB, free: 208.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.01061/12.28, allocations: 4.029 MB / 5.334 GB, free: 207.6 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)