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.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.898/3.898, allocations: 433 MB / 440.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2633/4.161, allocations: 104.4 MB / 0.5319 GB, free: 2.352 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5202/4.682, allocations: 98.69 MB / 0.6283 GB, free: 128 kB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.617/10.3, allocations: 2.196 GB / 2.824 GB, free: 186.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/10.3, allocations: 93.25 kB / 2.825 GB, free: 186.2 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 5.128/15.43, allocations: 1.029 GB / 3.853 GB, free: 93.89 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/15.43, allocations: 10.62 kB / 3.853 GB, free: 93.89 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009867/15.44, allocations: 0.5567 MB / 3.854 GB, free: 93.76 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007087/15.44, allocations: 1.282 MB / 3.855 GB, free: 93.14 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/15.44, allocations: 46.03 kB / 3.855 GB, free: 93.14 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008662/15.44, allocations: 81.66 kB / 3.855 GB, free: 93.14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007151/15.45, allocations: 1.253 MB / 3.856 GB, free: 92.82 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007498/15.46, allocations: 1.472 MB / 3.858 GB, free: 91.95 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.29e-05/15.46, allocations: 3.938 kB / 3.858 GB, free: 91.94 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/15.46, allocations: 3.906 kB / 3.858 GB, free: 91.94 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/15.46, allocations: 56.44 kB / 3.858 GB, free: 91.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02489/15.49, allocations: 7.346 MB / 3.865 GB, free: 85.85 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/15.49, allocations: 1.065 MB / 3.866 GB, free: 85.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/15.49, allocations: 0.5939 MB / 3.867 GB, free: 85.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/15.49, allocations: 0.873 MB / 3.867 GB, free: 84.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001823/15.49, allocations: 0.6258 MB / 3.868 GB, free: 83.75 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=109): time 5.621e-06/15.49, allocations: 0 / 3.868 GB, free: 83.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109): time 0.005745/15.5, allocations: 1.246 MB / 3.869 GB, free: 83.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/15.5, allocations: 89.89 kB / 3.869 GB, free: 83.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/15.5, allocations: 0.8132 MB / 3.87 GB, free: 82.63 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003422/15.5, allocations: 30.02 kB / 3.87 GB, free: 82.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005569/15.5, allocations: 493.1 kB / 3.871 GB, free: 82.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006021/15.5, allocations: 367.4 kB / 3.871 GB, free: 81.88 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/15.5, allocations: 0 / 3.871 GB, free: 81.88 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001104/15.5, allocations: 341.8 kB / 3.871 GB, free: 81.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/15.51, allocations: 443.8 kB / 3.872 GB, free: 81.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/15.51, allocations: 0.6039 MB / 3.872 GB, free: 80.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/15.51, allocations: 0.5477 MB / 3.873 GB, free: 80.65 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/15.51, allocations: 0 / 3.873 GB, free: 80.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004161/15.51, allocations: 1.258 MB / 3.874 GB, free: 80.06 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002642/15.51, allocations: 0.97 MB / 3.875 GB, free: 79.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/15.51, allocations: 7.578 kB / 3.875 GB, free: 79.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/15.51, allocations: 6.719 kB / 3.875 GB, free: 79.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/15.52, allocations: 233 kB / 3.875 GB, free: 78.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.253e-05/15.52, allocations: 6.969 kB / 3.875 GB, free: 78.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/15.52, allocations: 147.5 kB / 3.875 GB, free: 78.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/15.52, allocations: 43.27 kB / 3.876 GB, free: 78.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/15.52, allocations: 7.344 kB / 3.876 GB, free: 78.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003713/15.52, allocations: 1.095 MB / 3.877 GB, free: 78.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/15.52, allocations: 3.656 kB / 3.877 GB, free: 78.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/15.52, allocations: 6.156 kB / 3.877 GB, free: 78.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/15.53, allocations: 229.4 kB / 3.877 GB, free: 78.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/15.53, allocations: 8.406 kB / 3.877 GB, free: 78.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/15.53, allocations: 126.2 kB / 3.877 GB, free: 78.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/15.53, allocations: 52.91 kB / 3.877 GB, free: 78.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 125 * 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.0004601/15.53, allocations: 136.9 kB / 3.877 GB, free: 78.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/15.53, allocations: 136.6 kB / 3.877 GB, free: 78.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004427/15.53, allocations: 1.247 MB / 3.878 GB, free: 77.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/15.53, allocations: 10.94 kB / 3.878 GB, free: 77.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/15.53, allocations: 0 / 3.878 GB, free: 77.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003175/15.54, allocations: 1.024 MB / 3.879 GB, free: 76.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009803/15.55, allocations: 3 MB / 3.882 GB, free: 74.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/15.55, allocations: 2.719 kB / 3.882 GB, free: 74.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/15.55, allocations: 263.2 kB / 3.883 GB, free: 74.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.518e-05/15.55, allocations: 6.5 kB / 3.883 GB, free: 74.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/15.55, allocations: 18.27 kB / 3.883 GB, free: 74.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/15.55, allocations: 7.344 kB / 3.883 GB, free: 74.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/15.55, allocations: 10.34 kB / 3.883 GB, free: 74.89 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005863/15.56, allocations: 2.158 MB / 3.885 GB, free: 73.61 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008624/15.57, allocations: 3.414 MB / 3.888 GB, free: 71.42 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001784/15.57, allocations: 374.9 kB / 3.889 GB, free: 71.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005007/15.57, allocations: 5.875 kB / 3.889 GB, free: 71.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/15.57, allocations: 103.4 kB / 3.889 GB, free: 71.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/15.57, allocations: 55.67 kB / 3.889 GB, free: 71.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/15.57, allocations: 43.75 kB / 3.889 GB, free: 71.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001775/15.57, allocations: 0.6302 MB / 3.889 GB, free: 70.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.009191/15.58, allocations: 1.72 MB / 3.891 GB, free: 69.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * 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.006011/15.59, allocations: 3.09 MB / 3.894 GB, free: 66.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004665/15.59, allocations: 1.791 MB / 3.896 GB, free: 64.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/15.59, allocations: 3.938 kB / 3.896 GB, free: 64.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/15.59, allocations: 0.5658 MB / 3.896 GB, free: 64.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006734/15.6, allocations: 0.6474 MB / 3.897 GB, free: 63.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/15.61, allocations: 2.76 MB / 3.9 GB, free: 60.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004625/15.62, allocations: 1.564 MB / 3.901 GB, free: 59.36 MB / 0.8542 GB Notification: Performance of SimCode: time 2.495e-06/15.62, allocations: 0 / 3.901 GB, free: 59.36 MB / 0.8542 GB