Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Airflow.Multizone.Validation.ThreeRoomsContam.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.Validation.ThreeRoomsContam,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Validation_ThreeRoomsContam",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.278/4.278, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.562/4.84, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/5.114, allocations: 98.73 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.924/11.04, allocations: 2.206 GB / 2.834 GB, free: 141.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/11.04, allocations: 93.02 kB / 2.834 GB, free: 141.9 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: 732 * Number of variables: 732 Notification: Performance of Generate backend data structure: time 8.834/19.87, allocations: 1.591 GB / 4.425 GB, free: 79.46 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/19.87, allocations: 11.12 kB / 4.425 GB, free: 79.46 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/19.88, allocations: 0.9021 MB / 4.426 GB, free: 79.29 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007712/19.89, allocations: 1.902 MB / 4.428 GB, free: 78.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/19.89, allocations: 91.91 kB / 4.428 GB, free: 78.82 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/19.89, allocations: 169.6 kB / 4.428 GB, free: 78.82 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01179/19.9, allocations: 3.32 MB / 4.431 GB, free: 78.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/19.92, allocations: 3.22 MB / 4.434 GB, free: 78.49 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000199/19.92, allocations: 6.281 kB / 4.434 GB, free: 78.49 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/19.92, allocations: 3.75 kB / 4.434 GB, free: 78.49 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/19.92, allocations: 133.2 kB / 4.434 GB, free: 78.48 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03235/19.95, allocations: 13.87 MB / 4.448 GB, free: 71.08 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008116/19.96, allocations: 2.833 MB / 4.451 GB, free: 71.01 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004751/19.96, allocations: 1.758 MB / 4.452 GB, free: 70.97 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002463/19.97, allocations: 1.715 MB / 4.454 GB, free: 69.18 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/19.97, allocations: 70.7 kB / 4.454 GB, free: 69.14 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=285): time 5.43e-06/19.97, allocations: 11.22 kB / 4.454 GB, free: 69.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=285): time 0.01492/19.98, allocations: 3.217 MB / 4.457 GB, free: 68.91 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/19.98, allocations: 82.66 kB / 4.457 GB, free: 68.85 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/19.98, allocations: 0.9634 MB / 4.458 GB, free: 68.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007313/19.99, allocations: 29.2 kB / 4.458 GB, free: 68.67 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/19.99, allocations: 0.7626 MB / 4.459 GB, free: 68.23 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001562/19.99, allocations: 0.9329 MB / 4.46 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/19.99, allocations: 0 / 4.46 GB, free: 67.59 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002088/19.99, allocations: 401 kB / 4.46 GB, free: 67.29 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003091/19.99, allocations: 1.158 MB / 4.461 GB, free: 67.28 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003821/19.99, allocations: 1.442 MB / 4.463 GB, free: 67.05 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006458/20, allocations: 1.586 MB / 4.464 GB, free: 67 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-05/20, allocations: 0 / 4.464 GB, free: 67 MB / 0.9011 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01239/20.01, allocations: 3.245 MB / 4.468 GB, free: 66.79 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/20.01, allocations: 10.55 kB / 4.468 GB, free: 66.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/20.01, allocations: 3.656 kB / 4.468 GB, free: 66.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.82e-05/20.01, allocations: 15.31 kB / 4.468 GB, free: 66.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/20.02, allocations: 0.5318 MB / 4.468 GB, free: 66.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.817e-05/20.02, allocations: 14.06 kB / 4.468 GB, free: 66.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005695/20.03, allocations: 277.5 kB / 4.468 GB, free: 66.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008637/20.03, allocations: 95.77 kB / 4.469 GB, free: 66.69 MB / 0.9011 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 (312): * Single equations (assignments): 312 * 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.0008054/20.03, allocations: 141 kB / 4.469 GB, free: 66.58 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/20.03, allocations: 217.3 kB / 4.469 GB, free: 66.48 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/20.04, allocations: 3.388 MB / 4.472 GB, free: 66.32 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.706e-05/20.04, allocations: 31.56 kB / 4.472 GB, free: 66.32 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/20.04, allocations: 0 / 4.472 GB, free: 66.32 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01008/20.05, allocations: 2.832 MB / 4.475 GB, free: 66.16 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02298/20.08, allocations: 6.606 MB / 4.481 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/20.08, allocations: 3.594 kB / 4.481 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006208/20.08, allocations: 0.5757 MB / 4.482 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.849e-05/20.08, allocations: 14.03 kB / 4.482 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006786/20.08, allocations: 42.09 kB / 4.482 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.206e-05/20.08, allocations: 18.55 kB / 4.482 GB, free: 65.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/20.08, allocations: 8.562 kB / 4.482 GB, free: 65.45 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02388/20.11, allocations: 5.411 MB / 4.487 GB, free: 64.76 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03085/20.14, allocations: 8.021 MB / 4.495 GB, free: 63.67 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004158/20.14, allocations: 0.6367 MB / 4.496 GB, free: 63.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/20.14, allocations: 9.75 kB / 4.496 GB, free: 63.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00796/20.15, allocations: 186.8 kB / 4.496 GB, free: 63.41 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/20.15, allocations: 150.3 kB / 4.496 GB, free: 63.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007049/20.15, allocations: 94.28 kB / 4.496 GB, free: 63.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.002863/20.16, allocations: 0.7459 MB / 4.497 GB, free: 63.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01178/20.17, allocations: 1.761 MB / 4.499 GB, free: 63.15 MB / 0.9011 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 285 * 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 Backend phase and start with SimCode phase: time 0.01179/20.18, allocations: 4.577 MB / 4.503 GB, free: 61.24 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01194/20.19, allocations: 2.883 MB / 4.506 GB, free: 61.18 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/20.19, allocations: 1.781 kB / 4.506 GB, free: 61.18 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005703/20.2, allocations: 1.559 MB / 4.507 GB, free: 61.17 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/20.21, allocations: 0.9889 MB / 4.508 GB, free: 61.14 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/20.23, allocations: 5.533 MB / 4.514 GB, free: 60.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00606/20.24, allocations: 2.392 MB / 4.516 GB, free: 59.34 MB / 0.9011 GB Notification: Performance of SimCode: time 1.753e-06/20.24, allocations: 0 / 4.516 GB, free: 59.34 MB / 0.9011 GB