Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [: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 7.0.1/package.mo): time 2.253/2.253, allocations: 253.1 MB / 260.4 MB, free: 7.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00216/0.00216, allocations: 177.3 kB / 319.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 0.5704 GB, free: 15.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 97.62 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.407e-06/9.518e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.213, allocations: 106.2 MB / 0.888 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.808/6.021, allocations: 2.258 GB / 3.147 GB, free: 105 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/6.022, allocations: 87.45 kB / 3.147 GB, free: 105 MB / 0.8698 GB Notification: Performance of FrontEnd: time 10.13/16.16, allocations: 2.038 GB / 5.184 GB, free: 82.05 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003725/16.16, allocations: 82.19 kB / 5.185 GB, free: 82.04 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: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.02407/16.18, allocations: 3.954 MB / 5.188 GB, free: 80.28 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/16.18, allocations: 9.469 kB / 5.188 GB, free: 80.28 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/16.19, allocations: 0.9424 MB / 5.189 GB, free: 80.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/16.2, allocations: 2.371 MB / 5.192 GB, free: 79.52 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/16.2, allocations: 104.1 kB / 5.192 GB, free: 79.51 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/16.21, allocations: 197.5 kB / 5.192 GB, free: 79.51 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01521/16.22, allocations: 3.681 MB / 5.196 GB, free: 79.49 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/16.24, allocations: 3.63 MB / 5.199 GB, free: 78.75 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/16.24, allocations: 11.55 kB / 5.199 GB, free: 78.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005533/16.24, allocations: 3.188 kB / 5.199 GB, free: 78.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/16.24, allocations: 151.2 kB / 5.199 GB, free: 78.73 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04186/16.28, allocations: 16.02 MB / 5.215 GB, free: 67.18 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/16.29, allocations: 3.003 MB / 5.218 GB, free: 66.14 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006319/16.3, allocations: 1.838 MB / 5.22 GB, free: 65.43 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002448/16.3, allocations: 1.604 MB / 5.221 GB, free: 63.73 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006004/16.31, allocations: 1.703 MB / 5.223 GB, free: 62.48 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=301): time 8.566e-06/16.31, allocations: 0 / 5.223 GB, free: 62.48 MB / 0.9323 GB Notification: Performance of matching and sorting (n=301): time 0.01594/16.32, allocations: 3.404 MB / 5.226 GB, free: 59.49 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/16.32, allocations: 85.78 kB / 5.226 GB, free: 59.39 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00299/16.32, allocations: 1.068 MB / 5.227 GB, free: 58.43 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001035/16.33, allocations: 32.36 kB / 5.227 GB, free: 58.39 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0015/16.33, allocations: 0.907 MB / 5.228 GB, free: 57.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.002201/16.33, allocations: 0.9793 MB / 5.229 GB, free: 56.69 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/16.33, allocations: 0 / 5.229 GB, free: 56.69 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000287/16.33, allocations: 417.6 kB / 5.23 GB, free: 56.31 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/16.33, allocations: 1.263 MB / 5.231 GB, free: 55.16 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004504/16.34, allocations: 1.712 MB / 5.232 GB, free: 53.43 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007059/16.34, allocations: 1.736 MB / 5.234 GB, free: 51.69 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/16.35, allocations: 4 kB / 5.234 GB, free: 51.69 MB / 0.9323 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01321/16.36, allocations: 3.572 MB / 5.238 GB, free: 48.09 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/16.36, allocations: 4 kB / 5.238 GB, free: 48.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.819e-05/16.36, allocations: 8 kB / 5.238 GB, free: 48.08 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.407e-05/16.36, allocations: 26.66 kB / 5.238 GB, free: 48.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006427/16.36, allocations: 0.6035 MB / 5.238 GB, free: 47.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.847e-05/16.37, allocations: 23.94 kB / 5.238 GB, free: 47.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006723/16.37, allocations: 347.5 kB / 5.239 GB, free: 47.11 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007879/16.37, allocations: 111.9 kB / 5.239 GB, free: 47 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (351): * Single equations (assignments): 350 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0008777/16.37, allocations: 156.3 kB / 5.239 GB, free: 46.84 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/16.37, allocations: 233.2 kB / 5.239 GB, free: 46.61 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/16.39, allocations: 3.587 MB / 5.243 GB, free: 43 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/16.39, allocations: 28 kB / 5.243 GB, free: 42.97 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/16.39, allocations: 0 / 5.243 GB, free: 42.97 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01076/16.4, allocations: 3.237 MB / 5.246 GB, free: 39.64 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/16.42, allocations: 7.015 MB / 5.253 GB, free: 32.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/16.42, allocations: 6.75 kB / 5.253 GB, free: 32.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006484/16.43, allocations: 0.6104 MB / 5.253 GB, free: 31.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-05/16.43, allocations: 15.91 kB / 5.253 GB, free: 31.93 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007333/16.43, allocations: 42.45 kB / 5.253 GB, free: 31.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.153e-05/16.43, allocations: 12 kB / 5.253 GB, free: 31.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/16.43, allocations: 7.938 kB / 5.253 GB, free: 31.87 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0159/16.45, allocations: 5.76 MB / 5.259 GB, free: 25.93 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/16.45, allocations: 0.6672 MB / 5.26 GB, free: 25.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/16.45, allocations: 11.98 kB / 5.26 GB, free: 25.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00557/16.46, allocations: 219.3 kB / 5.26 GB, free: 25.04 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006176/16.46, allocations: 175.8 kB / 5.26 GB, free: 24.87 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003629/16.46, allocations: 99.94 kB / 5.26 GB, free: 24.77 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001915/16.46, allocations: 0.8118 MB / 5.261 GB, free: 23.96 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00673/16.47, allocations: 1.34 MB / 5.262 GB, free: 22.62 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.009865/16.48, allocations: 5.272 MB / 5.267 GB, free: 17.89 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009134/16.49, allocations: 3.174 MB / 5.27 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/16.49, allocations: 0 / 5.27 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004763/16.49, allocations: 1.676 MB / 5.272 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/16.5, allocations: 1.026 MB / 5.273 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/16.52, allocations: 5.917 MB / 5.279 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005226/16.53, allocations: 2.489 MB / 5.281 GB, free: 3.574 MB / 0.9323 GB Notification: Performance of SimCode: time 2.184e-06/16.53, allocations: 0 / 5.281 GB, free: 3.574 MB / 0.9323 GB Notification: Performance of Templates: time 0.7182/17.25, allocations: 74.43 MB / 5.354 GB, free: 186 MB / 0.948 GB