Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck") [: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 1.6.0+build.1/package.mo): time 0.5014/0.5014, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001194/0.001194, allocations: 176 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.369/1.369, allocations: 170.5 MB / 319 MB, free: 9.332 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001799/0.001799, allocations: 104.9 kB / 381 MB, free: 18.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.887e-06, allocations: 0 / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.165, allocations: 61.52 MB / 0.4981 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.38/12.55, allocations: 5.238 GB / 5.736 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/12.55, allocations: 75.95 kB / 5.736 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.3322/12.88, allocations: 43.11 MB / 5.778 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.725e-06/12.88, allocations: 3.156 kB / 5.778 GB, free: 159.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003274/12.88, allocations: 343.1 kB / 5.778 GB, free: 159 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/12.88, allocations: 9.812 kB / 5.778 GB, free: 159 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/12.88, allocations: 1.562 kB / 5.778 GB, free: 159 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/12.88, allocations: 167.4 kB / 5.779 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/12.88, allocations: 2.656 kB / 5.779 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/12.88, allocations: 3.375 kB / 5.779 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.498e-05/12.88, allocations: 9 kB / 5.779 GB, free: 158.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/12.88, allocations: 63.31 kB / 5.779 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/12.88, allocations: 0 / 5.779 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/12.88, allocations: 3.719 kB / 5.779 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/12.88, allocations: 6.594 kB / 5.779 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/12.88, allocations: 147.1 kB / 5.779 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/12.88, allocations: 67.83 kB / 5.779 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/12.88, allocations: 25.89 kB / 5.779 GB, free: 158.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/12.88, allocations: 242.9 kB / 5.779 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/12.88, allocations: 36.97 kB / 5.779 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/12.88, allocations: 4 kB / 5.779 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.001189/12.88, allocations: 0.6685 MB / 5.78 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/12.88, allocations: 111.1 kB / 5.78 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.526e-05/12.88, allocations: 91.19 kB / 5.78 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/12.88, allocations: 25.7 kB / 5.78 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.215e-05/12.88, allocations: 80.33 kB / 5.78 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/12.88, allocations: 32.03 kB / 5.78 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/12.88, allocations: 1.125 kB / 5.78 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/12.88, allocations: 320.3 kB / 5.781 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/12.88, allocations: 14.19 kB / 5.781 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/12.88, allocations: 47.19 kB / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/12.88, allocations: 30.72 kB / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/12.88, allocations: 0 / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002346/12.89, allocations: 99.39 kB / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/12.89, allocations: 7.844 kB / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/12.89, allocations: 3.906 kB / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/12.89, allocations: 0 / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.877e-05/12.89, allocations: 21.62 kB / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/12.89, allocations: 3.281 kB / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/12.89, allocations: 5.625 kB / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/12.89, allocations: 9 kB / 5.781 GB, free: 156.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.814e-05/12.89, allocations: 107.3 kB / 5.781 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/12.89, allocations: 6.312 kB / 5.781 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/12.89, allocations: 104 kB / 5.781 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/12.89, allocations: 3.312 kB / 5.781 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/12.89, allocations: 0 / 5.781 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/12.89, allocations: 4 kB / 5.781 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.856e-05/12.89, allocations: 143.5 kB / 5.781 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/12.89, allocations: 0 / 5.781 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/12.89, allocations: 23.66 kB / 5.781 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/12.89, allocations: 0 / 5.781 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/12.89, allocations: 7.875 kB / 5.781 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/12.89, allocations: 4.25 kB / 5.781 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/12.89, allocations: 0 / 5.781 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002821/12.89, allocations: 153.8 kB / 5.781 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/12.89, allocations: 91.16 kB / 5.781 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/12.89, allocations: 5.719 kB / 5.781 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/12.89, allocations: 3.422 kB / 5.781 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/12.89, allocations: 5.938 kB / 5.781 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/12.89, allocations: 3.125 kB / 5.781 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.985e-05/12.89, allocations: 86.33 kB / 5.781 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000351/12.89, allocations: 65.5 kB / 5.782 GB, free: 156.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hAirSym,hSteSym,hLiqSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0009423/12.89, allocations: 0.7205 MB / 5.782 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001123/12.89, allocations: 42.27 kB / 5.782 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/12.89, allocations: 0 / 5.782 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.359e-05/12.89, allocations: 20.66 kB / 5.782 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/12.89, allocations: 6.594 kB / 5.782 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/12.89, allocations: 271.8 kB / 5.783 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/12.89, allocations: 0.7035 MB / 5.783 GB, free: 155 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/12.89, allocations: 0 / 5.783 GB, free: 155 MB / 0.5261 GB Notification: Performance of Templates: time 0.007838/12.9, allocations: 4.474 MB / 5.788 GB, free: 154.3 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirUnsaturatedDerivativeCheck.pipe 2>&1)