Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.926/3.926, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5585/4.485, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/4.731, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.682/10.41, allocations: 2.252 GB / 2.88 GB, free: 74.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/10.41, allocations: 89.06 kB / 2.88 GB, free: 74.33 MB / 0.823 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 10.46/20.88, allocations: 2.036 GB / 4.916 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/20.88, allocations: 8 kB / 4.916 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/20.89, allocations: 0.936 MB / 4.917 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/20.9, allocations: 2.031 MB / 4.919 GB, free: 112 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004009/20.9, allocations: 100 kB / 4.919 GB, free: 12 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5763/21.48, allocations: 196.7 kB / 4.919 GB, free: 90.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01585/21.49, allocations: 3.695 MB / 4.923 GB, free: 90.33 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01711/21.51, allocations: 3.645 MB / 4.926 GB, free: 89.95 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/21.51, allocations: 8 kB / 4.926 GB, free: 89.95 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/21.51, allocations: 3.031 kB / 4.926 GB, free: 89.95 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/21.51, allocations: 144.5 kB / 4.926 GB, free: 89.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0375/21.55, allocations: 16.04 MB / 4.942 GB, free: 81.22 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009483/21.56, allocations: 3.06 MB / 4.945 GB, free: 81.16 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006212/21.57, allocations: 1.859 MB / 4.947 GB, free: 81.13 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004247/21.57, allocations: 1.72 MB / 4.949 GB, free: 79.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008749/21.58, allocations: 1.711 MB / 4.95 GB, free: 79.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=304): time 1.196e-05/21.58, allocations: 0 / 4.95 GB, free: 79.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=304): time 0.02459/21.6, allocations: 3.442 MB / 4.954 GB, free: 79.01 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/21.6, allocations: 89.3 kB / 4.954 GB, free: 78.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/21.61, allocations: 1.065 MB / 4.955 GB, free: 78.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001128/21.61, allocations: 32.8 kB / 4.955 GB, free: 78.76 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/21.61, allocations: 0.9003 MB / 4.956 GB, free: 78.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002631/21.61, allocations: 0.9961 MB / 4.957 GB, free: 77.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004152/21.61, allocations: 0 / 4.957 GB, free: 77.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003563/21.61, allocations: 421 kB / 4.957 GB, free: 77.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00437/21.62, allocations: 1.283 MB / 4.958 GB, free: 77.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005548/21.62, allocations: 1.723 MB / 4.96 GB, free: 77.13 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007238/21.63, allocations: 1.764 MB / 4.962 GB, free: 77.08 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.111e-05/21.63, allocations: 0 / 4.962 GB, free: 77.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01618/21.65, allocations: 3.62 MB / 4.965 GB, free: 76.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/21.65, allocations: 14.33 kB / 4.965 GB, free: 76.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.263e-05/21.65, allocations: 10.69 kB / 4.965 GB, free: 76.85 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.133e-05/21.65, allocations: 20.91 kB / 4.965 GB, free: 76.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00968/21.66, allocations: 0.604 MB / 4.966 GB, free: 76.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/21.66, allocations: 24.03 kB / 4.966 GB, free: 76.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009506/21.67, allocations: 343.2 kB / 4.966 GB, free: 76.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/21.67, allocations: 117.4 kB / 4.966 GB, free: 76.79 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (354): * Single equations (assignments): 352 * Array equations: 0 * Algorithm blocks: 2 * 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.002475/21.67, allocations: 152.3 kB / 4.966 GB, free: 76.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002799/21.67, allocations: 235.2 kB / 4.967 GB, free: 76.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/21.69, allocations: 3.627 MB / 4.97 GB, free: 76.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/21.69, allocations: 28.81 kB / 4.97 GB, free: 76.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/21.69, allocations: 0 / 4.97 GB, free: 76.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01106/21.7, allocations: 3.268 MB / 4.973 GB, free: 75.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/21.73, allocations: 7.083 MB / 4.98 GB, free: 75.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/21.73, allocations: 2.969 kB / 4.98 GB, free: 75.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006416/21.73, allocations: 0.6119 MB / 4.981 GB, free: 75.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.193e-05/21.73, allocations: 14.38 kB / 4.981 GB, free: 75.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007747/21.73, allocations: 43.98 kB / 4.981 GB, free: 75.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-05/21.73, allocations: 11.06 kB / 4.981 GB, free: 75.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/21.73, allocations: 11.06 kB / 4.981 GB, free: 75.3 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01836/21.75, allocations: 5.81 MB / 4.987 GB, free: 74.6 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02981/21.78, allocations: 8.604 MB / 4.995 GB, free: 73.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003325/21.78, allocations: 0.6731 MB / 4.996 GB, free: 73.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/21.79, allocations: 17.41 kB / 4.996 GB, free: 73.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005779/21.79, allocations: 225.2 kB / 4.996 GB, free: 73.28 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001436/21.79, allocations: 160.6 kB / 4.996 GB, free: 73.28 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001036/21.79, allocations: 100.9 kB / 4.996 GB, free: 73.28 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.003809/21.8, allocations: 0.8154 MB / 4.997 GB, free: 73.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02063/21.82, allocations: 1.974 MB / 4.999 GB, free: 73.09 MB / 0.9167 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 (304): * Single equations (assignments): 302 * 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.01371/21.83, allocations: 5.288 MB / 5.004 GB, free: 70.79 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01256/21.85, allocations: 3.231 MB / 5.007 GB, free: 70.66 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.861e-05/21.85, allocations: 3.438 kB / 5.007 GB, free: 70.66 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007773/21.85, allocations: 1.692 MB / 5.009 GB, free: 70.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01401/21.87, allocations: 1.021 MB / 5.01 GB, free: 70.62 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02692/21.89, allocations: 5.952 MB / 5.016 GB, free: 69.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00734/21.9, allocations: 2.566 MB / 5.018 GB, free: 68.75 MB / 0.9167 GB Notification: Performance of SimCode: time 1.813e-06/21.9, allocations: 0 / 5.018 GB, free: 68.75 MB / 0.9167 GB