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.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.811/3.811, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5685/4.38, allocations: 104.3 MB / 0.5319 GB, free: 12.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/4.643, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.659/10.3, allocations: 2.201 GB / 2.829 GB, free: 146.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/10.3, allocations: 92.03 kB / 2.829 GB, free: 146.5 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: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 9.296/19.6, allocations: 1.681 GB / 4.511 GB, free: 66.74 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.822e-05/19.6, allocations: 9.062 kB / 4.511 GB, free: 66.74 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/19.61, allocations: 0.9806 MB / 4.512 GB, free: 65.94 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008688/19.62, allocations: 1.961 MB / 4.514 GB, free: 63.96 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/19.62, allocations: 84 kB / 4.514 GB, free: 63.88 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/19.62, allocations: 163.9 kB / 4.514 GB, free: 63.72 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01117/19.63, allocations: 3.098 MB / 4.517 GB, free: 60.62 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/19.65, allocations: 2.972 MB / 4.52 GB, free: 57.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/19.65, allocations: 8 kB / 4.52 GB, free: 57.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004712/19.65, allocations: 4 kB / 4.52 GB, free: 57.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/19.65, allocations: 133 kB / 4.52 GB, free: 57.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03556/19.68, allocations: 12.82 MB / 4.532 GB, free: 43.99 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008443/19.69, allocations: 2.693 MB / 4.535 GB, free: 41.34 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/19.7, allocations: 1.821 MB / 4.537 GB, free: 39.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002411/19.7, allocations: 1.62 MB / 4.538 GB, free: 37.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.169e-05/19.7, allocations: 66.81 kB / 4.538 GB, free: 37.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=278): time 5.721e-06/19.7, allocations: 0 / 4.538 GB, free: 37.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=278): time 0.01506/19.71, allocations: 3.171 MB / 4.542 GB, free: 34.31 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/19.71, allocations: 81.59 kB / 4.542 GB, free: 34.22 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/19.72, allocations: 1.032 MB / 4.543 GB, free: 33.18 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007872/19.72, allocations: 29.7 kB / 4.543 GB, free: 33.15 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/19.72, allocations: 0.7218 MB / 4.543 GB, free: 32.42 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001728/19.72, allocations: 0.9158 MB / 4.544 GB, free: 31.49 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/19.72, allocations: 0 / 4.544 GB, free: 31.49 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002617/19.72, allocations: 402.9 kB / 4.545 GB, free: 31.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003203/19.72, allocations: 1.133 MB / 4.546 GB, free: 29.95 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/19.73, allocations: 1.445 MB / 4.547 GB, free: 28.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005854/19.73, allocations: 1.554 MB / 4.549 GB, free: 26.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/19.73, allocations: 3.938 kB / 4.549 GB, free: 26.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.0108/19.74, allocations: 3.217 MB / 4.552 GB, free: 23.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/19.74, allocations: 8 kB / 4.552 GB, free: 23.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/19.74, allocations: 8 kB / 4.552 GB, free: 23.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.595e-05/19.74, allocations: 16 kB / 4.552 GB, free: 23.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005704/19.75, allocations: 0.5328 MB / 4.552 GB, free: 23.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.496e-05/19.75, allocations: 16 kB / 4.552 GB, free: 23.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008491/19.76, allocations: 278.1 kB / 4.553 GB, free: 22.76 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/19.76, allocations: 91.03 kB / 4.553 GB, free: 22.68 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001151/19.76, allocations: 144.4 kB / 4.553 GB, free: 22.53 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/19.76, allocations: 221.4 kB / 4.553 GB, free: 22.31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/19.78, allocations: 3.335 MB / 4.556 GB, free: 18.94 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/19.78, allocations: 34.58 kB / 4.556 GB, free: 18.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/19.78, allocations: 0 / 4.556 GB, free: 18.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0116/19.79, allocations: 2.847 MB / 4.559 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03056/19.82, allocations: 6.293 MB / 4.565 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/19.82, allocations: 0 / 4.565 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006253/19.83, allocations: 0.5759 MB / 4.566 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.885e-05/19.83, allocations: 14.31 kB / 4.566 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005463/19.83, allocations: 39.62 kB / 4.566 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.655e-05/19.83, allocations: 8 kB / 4.566 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/19.83, allocations: 0 / 4.566 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01339/19.84, allocations: 5.108 MB / 4.571 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02226/19.87, allocations: 7.692 MB / 4.578 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003239/19.87, allocations: 0.6418 MB / 4.579 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/19.87, allocations: 3.984 kB / 4.579 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006438/19.88, allocations: 190.1 kB / 4.579 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007822/19.88, allocations: 141.9 kB / 4.579 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005622/19.88, allocations: 87.95 kB / 4.579 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002872/19.88, allocations: 0.7956 MB / 4.58 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01161/19.89, allocations: 1.755 MB / 4.582 GB, free: 8.465 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.01277/19.91, allocations: 4.718 MB / 4.587 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01109/19.92, allocations: 2.837 MB / 4.589 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/19.92, allocations: 3.938 kB / 4.589 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.4284/20.34, allocations: 1.524 MB / 4.591 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01086/20.36, allocations: 1.086 MB / 4.592 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/20.38, allocations: 5.281 MB / 4.597 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005006/20.38, allocations: 2.298 MB / 4.599 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of SimCode: time 2.995e-06/20.38, allocations: 0 / 4.599 GB, free: 154.5 MB / 0.8855 GB