Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.112/2.112, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001568, allocations: 181.2 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.2 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.00122, allocations: 95.5 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.926e-06/9.067e-06, allocations: 0 / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.545, allocations: 115.2 MB / 0.9628 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.351/4.896, allocations: 2.068 GB / 3.03 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/4.896, allocations: 85.62 kB / 3.03 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.4672/5.364, allocations: 163.7 MB / 3.19 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.858e-05/5.364, allocations: 11.94 kB / 3.19 GB, free: 169.2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009704/5.365, allocations: 0.6113 MB / 3.191 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/5.365, allocations: 8.031 kB / 3.191 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/5.366, allocations: 143.4 kB / 3.191 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008293/5.367, allocations: 419.2 kB / 3.191 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/5.367, allocations: 11.91 kB / 3.191 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/5.367, allocations: 12 kB / 3.191 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004906/5.367, allocations: 177 kB / 3.192 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/5.368, allocations: 233.8 kB / 3.192 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/5.368, allocations: 3.938 kB / 3.192 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/5.368, allocations: 4 kB / 3.192 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/5.368, allocations: 12.5 kB / 3.192 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/5.37, allocations: 1.246 MB / 3.193 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/5.371, allocations: 187 kB / 3.193 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/5.371, allocations: 91.88 kB / 3.193 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/5.371, allocations: 4 kB / 3.193 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/5.371, allocations: 34.56 kB / 3.193 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/5.371, allocations: 0 / 3.193 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0008554/5.372, allocations: 230.3 kB / 3.194 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/5.372, allocations: 55.41 kB / 3.194 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/5.372, allocations: 235.6 kB / 3.194 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/5.372, allocations: 25.7 kB / 3.194 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/5.372, allocations: 168.1 kB / 3.194 GB, free: 165 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/5.372, allocations: 63.02 kB / 3.194 GB, free: 165 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/5.372, allocations: 0 / 3.194 GB, free: 165 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/5.372, allocations: 342.8 kB / 3.194 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/5.372, allocations: 56.44 kB / 3.195 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/5.373, allocations: 120.5 kB / 3.195 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/5.373, allocations: 75.91 kB / 3.195 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/5.373, allocations: 0 / 3.195 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004412/5.373, allocations: 232.2 kB / 3.195 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/5.373, allocations: 8.031 kB / 3.195 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/5.373, allocations: 0 / 3.195 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/5.373, allocations: 4 kB / 3.195 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/5.374, allocations: 43.98 kB / 3.195 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/5.374, allocations: 7.938 kB / 3.195 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/5.374, allocations: 15.75 kB / 3.195 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/5.374, allocations: 12 kB / 3.195 GB, free: 164 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.846e-05/5.374, allocations: 120.6 kB / 3.195 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/5.375, allocations: 31.61 kB / 3.195 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.934e-05/5.375, allocations: 37.95 kB / 3.195 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/5.375, allocations: 4 kB / 3.195 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/5.375, allocations: 0 / 3.195 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/5.375, allocations: 0 / 3.195 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/5.375, allocations: 353.9 kB / 3.196 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/5.375, allocations: 0 / 3.196 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/5.376, allocations: 35.92 kB / 3.196 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/5.376, allocations: 48.83 kB / 3.196 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/5.376, allocations: 0 / 3.196 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/5.377, allocations: 1.377 MB / 3.197 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/5.377, allocations: 0 / 3.197 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007303/5.378, allocations: 392.3 kB / 3.197 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/5.378, allocations: 132.7 kB / 3.197 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/5.378, allocations: 4.062 kB / 3.197 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/5.379, allocations: 11.84 kB / 3.197 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/5.379, allocations: 7.984 kB / 3.198 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/5.379, allocations: 4 kB / 3.198 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0002119/5.379, allocations: 195.1 kB / 3.198 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006598/5.38, allocations: 147.8 kB / 3.198 GB, free: 160.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0009632/5.381, allocations: 0.8167 MB / 3.199 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000365/5.381, allocations: 156 kB / 3.199 GB, free: 160 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/5.381, allocations: 0 / 3.199 GB, free: 160 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003375/5.381, allocations: 186.4 kB / 3.199 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/5.383, allocations: 168.7 kB / 3.199 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/5.384, allocations: 0.5392 MB / 3.2 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/5.384, allocations: 0.834 MB / 3.2 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of SimCode: time 6.61e-07/5.384, allocations: 0 / 3.2 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.02132/5.406, allocations: 9.485 MB / 3.21 GB, free: 148.8 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)