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"}) Notification: Performance of loadModel(Buildings): time 4.237/4.237, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.284e-05/2.297e-05, allocations: 7.281 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2317, allocations: 98.74 MB / 0.6289 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.119/7.35, allocations: 2.196 GB / 2.825 GB, free: 138.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/7.351, allocations: 87.52 kB / 2.825 GB, free: 138.4 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: Performance of FrontEnd - DAE generated: time 5.309/12.66, allocations: 1.014 GB / 3.839 GB, free: 50.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.705e-06/12.66, allocations: 0 / 3.839 GB, free: 50.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002301/12.66, allocations: 51.92 kB / 3.839 GB, free: 50.52 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.01052/12.67, allocations: 2.195 MB / 3.842 GB, free: 48.26 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.697e-05/12.67, allocations: 12.03 kB / 3.842 GB, free: 48.25 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/12.68, allocations: 0.5128 MB / 3.842 GB, free: 47.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/12.68, allocations: 1.249 MB / 3.843 GB, free: 46.43 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.217e-05/12.68, allocations: 44 kB / 3.843 GB, free: 46.39 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004185/12.68, allocations: 87.91 kB / 3.843 GB, free: 46.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004221/12.69, allocations: 1.196 MB / 3.845 GB, free: 45.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005511/12.69, allocations: 1.422 MB / 3.846 GB, free: 43.61 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.192e-05/12.69, allocations: 3.938 kB / 3.846 GB, free: 43.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/12.69, allocations: 4 kB / 3.846 GB, free: 43.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/12.69, allocations: 58.53 kB / 3.846 GB, free: 43.54 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01622/12.71, allocations: 7.012 MB / 3.853 GB, free: 36.09 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/12.71, allocations: 1.219 MB / 3.854 GB, free: 34.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/12.71, allocations: 0.5627 MB / 3.855 GB, free: 34.24 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/12.71, allocations: 0.8636 MB / 3.855 GB, free: 33.19 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/12.71, allocations: 0.5924 MB / 3.856 GB, free: 32.59 MB / 0.823 GB Notification: Performance of pre-optimization done (n=109): time 4.719e-06/12.71, allocations: 0 / 3.856 GB, free: 32.59 MB / 0.823 GB Notification: Performance of matching and sorting (n=109): time 0.003617/12.72, allocations: 1.14 MB / 3.857 GB, free: 31.44 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/12.72, allocations: 90.42 kB / 3.857 GB, free: 31.33 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/12.72, allocations: 0.807 MB / 3.858 GB, free: 30.51 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003064/12.72, allocations: 29.7 kB / 3.858 GB, free: 30.48 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000765/12.72, allocations: 0.6734 MB / 3.859 GB, free: 29.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/12.72, allocations: 366.5 kB / 3.859 GB, free: 29.43 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-05/12.72, allocations: 4 kB / 3.859 GB, free: 29.43 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001174/12.72, allocations: 349.9 kB / 3.859 GB, free: 29.08 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009616/12.72, allocations: 422.4 kB / 3.86 GB, free: 28.67 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/12.72, allocations: 0.5828 MB / 3.86 GB, free: 28.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/12.73, allocations: 0.5105 MB / 3.861 GB, free: 27.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/12.73, allocations: 0 / 3.861 GB, free: 27.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003236/12.73, allocations: 1.206 MB / 3.862 GB, free: 26.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002642/12.73, allocations: 1.006 MB / 3.863 GB, free: 25.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/12.73, allocations: 0 / 3.863 GB, free: 25.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.264e-05/12.73, allocations: 12 kB / 3.863 GB, free: 25.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/12.73, allocations: 227.7 kB / 3.863 GB, free: 24.99 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/12.73, allocations: 4 kB / 3.863 GB, free: 24.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/12.73, allocations: 139.1 kB / 3.863 GB, free: 24.85 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/12.73, allocations: 47.97 kB / 3.863 GB, free: 24.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/12.73, allocations: 7.938 kB / 3.863 GB, free: 24.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002844/12.74, allocations: 1.05 MB / 3.864 GB, free: 23.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/12.74, allocations: 4 kB / 3.864 GB, free: 23.74 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/12.74, allocations: 8 kB / 3.864 GB, free: 23.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/12.74, allocations: 224 kB / 3.865 GB, free: 23.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/12.74, allocations: 8 kB / 3.865 GB, free: 23.51 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/12.74, allocations: 131.1 kB / 3.865 GB, free: 23.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/12.74, allocations: 47.98 kB / 3.865 GB, free: 23.33 MB / 0.823 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.0003894/12.74, allocations: 136.7 kB / 3.865 GB, free: 23.19 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002924/12.74, allocations: 1.081 MB / 3.866 GB, free: 22.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/12.75, allocations: 142.3 kB / 3.866 GB, free: 21.96 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/12.75, allocations: 1.19 MB / 3.867 GB, free: 20.76 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/12.75, allocations: 12 kB / 3.867 GB, free: 20.75 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/12.75, allocations: 0 / 3.867 GB, free: 20.75 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002373/12.75, allocations: 1.002 MB / 3.868 GB, free: 19.73 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007738/12.76, allocations: 3.074 MB / 3.871 GB, free: 16.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/12.76, allocations: 0 / 3.871 GB, free: 16.54 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/12.76, allocations: 243.7 kB / 3.872 GB, free: 16.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-05/12.76, allocations: 8 kB / 3.872 GB, free: 16.29 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/12.76, allocations: 19.94 kB / 3.872 GB, free: 16.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/12.76, allocations: 11.94 kB / 3.872 GB, free: 16.26 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/12.76, allocations: 4 kB / 3.872 GB, free: 16.26 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004227/12.77, allocations: 2.112 MB / 3.874 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/12.77, allocations: 367.1 kB / 3.874 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/12.77, allocations: 8 kB / 3.874 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/12.77, allocations: 107.7 kB / 3.874 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/12.77, allocations: 73.2 kB / 3.874 GB, free: 13.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/12.77, allocations: 47.95 kB / 3.874 GB, free: 13.44 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001145/12.77, allocations: 0.6143 MB / 3.875 GB, free: 12.82 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.51e-07/12.77, allocations: 0 / 3.875 GB, free: 12.82 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004419/12.78, allocations: 1.028 MB / 3.876 GB, free: 11.79 MB / 0.823 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.01113/12.79, allocations: 6.326 MB / 3.882 GB, free: 5.152 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004179/12.79, allocations: 1.798 MB / 3.884 GB, free: 3.328 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/12.79, allocations: 4.125 kB / 3.884 GB, free: 3.324 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/12.79, allocations: 0.5437 MB / 3.884 GB, free: 2.785 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00589/12.8, allocations: 0.6739 MB / 3.885 GB, free: 2.113 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009112/12.81, allocations: 3.054 MB / 3.888 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/12.81, allocations: 1.401 MB / 3.889 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00421/12.81, allocations: 0.537 MB / 3.89 GB, free: 13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/12.81, allocations: 0.5852 MB / 3.89 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of SimCode: time 1.122e-06/12.81, allocations: 4 kB / 3.89 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8268/13.64, allocations: 57.27 MB / 3.946 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/13.64, allocations: 186 kB / 3.947 GB, free: 126 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.518/19.16, allocations: 0 / 3.947 GB, free: 126 MB / 0.8542 GB