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.ClosedDoors.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.ClosedDoors,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors",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 4.056/4.056, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.534/4.59, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/4.826, allocations: 98.72 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.18/17.01, allocations: 4.688 GB / 5.317 GB, free: 124.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/17.01, allocations: 86.64 kB / 5.317 GB, free: 124.2 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 5.532/22.54, allocations: 0.9648 GB / 6.282 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/22.54, allocations: 12 kB / 6.282 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/22.55, allocations: 0.7149 MB / 6.282 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/22.57, allocations: 2.001 MB / 6.284 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/22.57, allocations: 91.94 kB / 6.284 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/22.57, allocations: 163.5 kB / 6.285 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0206/22.59, allocations: 4.15 MB / 6.289 GB, free: 108 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01715/22.61, allocations: 2.783 MB / 6.291 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000227/22.61, allocations: 7.984 kB / 6.291 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001538/22.61, allocations: 0 / 6.291 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/22.61, allocations: 125.4 kB / 6.291 GB, free: 105 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/22.65, allocations: 10.72 MB / 6.302 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/22.67, allocations: 4.192 MB / 6.306 GB, free: 89.73 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009741/22.68, allocations: 2.413 MB / 6.308 GB, free: 87.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00285/22.68, allocations: 0.9795 MB / 6.309 GB, free: 86.18 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/22.68, allocations: 77.7 kB / 6.309 GB, free: 86.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=399): time 1.112e-05/22.68, allocations: 0 / 6.309 GB, free: 86.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=399): time 0.03047/22.71, allocations: 4.473 MB / 6.314 GB, free: 81.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/22.71, allocations: 94.55 kB / 6.314 GB, free: 81.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003905/22.72, allocations: 1.032 MB / 6.315 GB, free: 80.46 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001246/22.72, allocations: 28.61 kB / 6.315 GB, free: 80.43 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007669/22.72, allocations: 0.5788 MB / 6.315 GB, free: 79.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003082/22.72, allocations: 1.281 MB / 6.317 GB, free: 78.54 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007288/22.72, allocations: 0 / 6.317 GB, free: 78.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005455/22.72, allocations: 437.1 kB / 6.317 GB, free: 78.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006708/22.73, allocations: 1.533 MB / 6.319 GB, free: 76.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007584/22.74, allocations: 1.822 MB / 6.32 GB, free: 74.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01426/22.75, allocations: 2.274 MB / 6.323 GB, free: 72.42 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-05/22.75, allocations: 4 kB / 6.323 GB, free: 72.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.02441/22.78, allocations: 4.413 MB / 6.327 GB, free: 67.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/22.78, allocations: 4 kB / 6.327 GB, free: 67.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.625e-05/22.78, allocations: 4 kB / 6.327 GB, free: 67.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.608e-05/22.78, allocations: 16.88 kB / 6.327 GB, free: 67.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/22.79, allocations: 0.6859 MB / 6.328 GB, free: 67.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001327/22.79, allocations: 23.91 kB / 6.328 GB, free: 67.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008874/22.8, allocations: 283.3 kB / 6.328 GB, free: 66.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/22.8, allocations: 112 kB / 6.328 GB, free: 66.86 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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 0.00197/22.8, allocations: 167.9 kB / 6.328 GB, free: 66.69 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001702/22.8, allocations: 237.2 kB / 6.328 GB, free: 66.46 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02959/22.83, allocations: 4.845 MB / 6.333 GB, free: 61.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-05/22.83, allocations: 36 kB / 6.333 GB, free: 61.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-05/22.83, allocations: 7.906 kB / 6.333 GB, free: 61.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02324/22.85, allocations: 4.212 MB / 6.337 GB, free: 57.26 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03201/22.89, allocations: 8.206 MB / 6.345 GB, free: 49.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/22.89, allocations: 0 / 6.345 GB, free: 49.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007173/22.89, allocations: 0.671 MB / 6.346 GB, free: 48.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007668/22.89, allocations: 134.5 kB / 6.346 GB, free: 48.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001275/22.9, allocations: 35.67 kB / 6.346 GB, free: 48.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005253/22.9, allocations: 4.322 MB / 6.35 GB, free: 43.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/22.9, allocations: 0 / 6.35 GB, free: 43.57 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02306/22.92, allocations: 7.303 MB / 6.357 GB, free: 36.21 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03103/22.95, allocations: 10.49 MB / 6.368 GB, free: 25.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003363/22.96, allocations: 0.7666 MB / 6.368 GB, free: 24.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/22.96, allocations: 8 kB / 6.368 GB, free: 24.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006379/22.97, allocations: 151.6 kB / 6.369 GB, free: 24.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001475/22.97, allocations: 192.6 kB / 6.369 GB, free: 24.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008261/22.97, allocations: 112 kB / 6.369 GB, free: 24.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001942/22.97, allocations: 0.7971 MB / 6.37 GB, free: 23.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.009782/22.98, allocations: 1.424 MB / 6.371 GB, free: 22.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005088/22.99, allocations: 2.541 MB / 6.374 GB, free: 19.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01163/23, allocations: 3.895 MB / 6.377 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/23, allocations: 0 / 6.377 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006891/23, allocations: 2.454 MB / 6.38 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009086/23.01, allocations: 0.863 MB / 6.381 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/23.03, allocations: 5.749 MB / 6.386 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00486/23.04, allocations: 2.324 MB / 6.388 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of SimCode: time 1.523e-06/23.04, allocations: 0 / 6.388 GB, free: 4.523 MB / 0.8542 GB