Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.177/2.177, allocations: 248.6 MB / 255.9 MB, free: 7.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001713, allocations: 188.7 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.1 MB / 0.5658 GB, free: 376 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001221, allocations: 91.31 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4902/0.4915, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.7113, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.314/7.025, allocations: 2.259 GB / 3.142 GB, free: 94.31 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004062/7.025, allocations: 88.14 kB / 3.142 GB, free: 94.27 MB / 0.8698 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 11.1/18.13, allocations: 2.042 GB / 5.184 GB, free: 84.21 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/18.13, allocations: 7.5 kB / 5.184 GB, free: 84.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/18.14, allocations: 0.937 MB / 5.185 GB, free: 84.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/18.15, allocations: 2.377 MB / 5.187 GB, free: 83.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/18.15, allocations: 98.34 kB / 5.187 GB, free: 83.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/18.15, allocations: 196.5 kB / 5.187 GB, free: 83.44 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01495/18.17, allocations: 3.682 MB / 5.191 GB, free: 83.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/18.18, allocations: 3.631 MB / 5.195 GB, free: 83.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/18.18, allocations: 13.64 kB / 5.195 GB, free: 83.03 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/18.18, allocations: 3.375 kB / 5.195 GB, free: 83.03 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002772/18.18, allocations: 142 kB / 5.195 GB, free: 83.02 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05113/18.24, allocations: 16.04 MB / 5.21 GB, free: 73.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01479/18.25, allocations: 3 MB / 5.213 GB, free: 72.37 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008122/18.26, allocations: 1.85 MB / 5.215 GB, free: 71.65 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003372/18.26, allocations: 1.599 MB / 5.217 GB, free: 69.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008883/18.27, allocations: 1.7 MB / 5.218 GB, free: 69.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=301): time 1.356e-05/18.27, allocations: 0 / 5.218 GB, free: 69.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=301): time 0.02562/18.3, allocations: 3.409 MB / 5.222 GB, free: 68.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/18.3, allocations: 83.97 kB / 5.222 GB, free: 68.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005271/18.3, allocations: 1.071 MB / 5.223 GB, free: 67.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001135/18.3, allocations: 29.27 kB / 5.223 GB, free: 67.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002076/18.31, allocations: 0.9003 MB / 5.224 GB, free: 67.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003298/18.31, allocations: 0.9867 MB / 5.225 GB, free: 66.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008452/18.31, allocations: 1.406 kB / 5.225 GB, free: 66.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005534/18.31, allocations: 414.9 kB / 5.225 GB, free: 65.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006392/18.32, allocations: 1.264 MB / 5.226 GB, free: 65.28 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007108/18.32, allocations: 1.71 MB / 5.228 GB, free: 63.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/18.33, allocations: 1.736 MB / 5.23 GB, free: 62.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.352e-05/18.34, allocations: 4 kB / 5.23 GB, free: 62.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01926/18.35, allocations: 3.573 MB / 5.233 GB, free: 58.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/18.35, allocations: 4.609 kB / 5.233 GB, free: 58.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.837e-05/18.35, allocations: 8 kB / 5.233 GB, free: 58.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-05/18.35, allocations: 26.25 kB / 5.233 GB, free: 58.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008933/18.36, allocations: 0.6028 MB / 5.234 GB, free: 58.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/18.36, allocations: 26.19 kB / 5.234 GB, free: 58.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009205/18.37, allocations: 344.9 kB / 5.234 GB, free: 58.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/18.37, allocations: 106.2 kB / 5.234 GB, free: 58.04 MB / 0.948 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.001855/18.38, allocations: 159.7 kB / 5.234 GB, free: 57.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001817/18.38, allocations: 236.8 kB / 5.235 GB, free: 57.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0224/18.4, allocations: 3.59 MB / 5.238 GB, free: 54.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.925e-05/18.4, allocations: 28.61 kB / 5.238 GB, free: 54.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/18.4, allocations: 0 / 5.238 GB, free: 54.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01624/18.42, allocations: 3.236 MB / 5.241 GB, free: 51.67 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03782/18.45, allocations: 7.009 MB / 5.248 GB, free: 44.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/18.45, allocations: 7.125 kB / 5.248 GB, free: 44.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009325/18.46, allocations: 0.6149 MB / 5.249 GB, free: 44.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-05/18.46, allocations: 12.88 kB / 5.249 GB, free: 44.24 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/18.47, allocations: 43.86 kB / 5.249 GB, free: 44.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.431e-05/18.47, allocations: 12 kB / 5.249 GB, free: 44.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/18.47, allocations: 4 kB / 5.249 GB, free: 44.18 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02438/18.49, allocations: 5.762 MB / 5.254 GB, free: 38.25 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03263/18.52, allocations: 8.532 MB / 5.263 GB, free: 29.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004538/18.53, allocations: 0.6696 MB / 5.263 GB, free: 28.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/18.53, allocations: 15.98 kB / 5.263 GB, free: 28.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008098/18.54, allocations: 216.4 kB / 5.264 GB, free: 28.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/18.54, allocations: 169.9 kB / 5.264 GB, free: 28.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001085/18.54, allocations: 103.9 kB / 5.264 GB, free: 28.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003345/18.54, allocations: 0.8105 MB / 5.265 GB, free: 27.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01444/18.56, allocations: 1.95 MB / 5.267 GB, free: 25.61 MB / 0.948 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.01381/18.57, allocations: 5.269 MB / 5.272 GB, free: 20.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0125/18.58, allocations: 3.168 MB / 5.275 GB, free: 17.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-05/18.58, allocations: 4 kB / 5.275 GB, free: 17.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007169/18.59, allocations: 1.683 MB / 5.276 GB, free: 16.01 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01412/18.61, allocations: 1.017 MB / 5.277 GB, free: 15.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/18.63, allocations: 5.95 MB / 5.283 GB, free: 9.086 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008316/18.64, allocations: 2.562 MB / 5.286 GB, free: 6.496 MB / 0.948 GB Notification: Performance of SimCode: time 2.364e-06/18.64, allocations: 0 / 5.286 GB, free: 6.496 MB / 0.948 GB