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.ZonalFlow.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.ZonalFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.335/4.335, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.903e-05, allocations: 1.594 kB / 0.5325 GB, free: 12.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2426, allocations: 98.74 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.102/7.345, allocations: 2.189 GB / 2.818 GB, free: 145.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/7.345, allocations: 81.08 kB / 2.818 GB, free: 145.4 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 3.293/10.64, allocations: 0.5793 GB / 3.398 GB, free: 169.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.635e-06/10.64, allocations: 0 / 3.398 GB, free: 169.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.432e-05/10.64, allocations: 29.31 kB / 3.398 GB, free: 169.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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.006406/10.64, allocations: 1.547 MB / 3.399 GB, free: 169.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/10.64, allocations: 14.36 kB / 3.399 GB, free: 169.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/10.65, allocations: 334 kB / 3.399 GB, free: 169.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/10.65, allocations: 0.8559 MB / 3.4 GB, free: 168.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/10.65, allocations: 34.03 kB / 3.4 GB, free: 168.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/10.65, allocations: 62.8 kB / 3.4 GB, free: 168.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002521/10.65, allocations: 0.9947 MB / 3.401 GB, free: 168.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/10.66, allocations: 0.9628 MB / 3.402 GB, free: 168.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/10.66, allocations: 0 / 3.402 GB, free: 168.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/10.66, allocations: 1.75 kB / 3.402 GB, free: 168.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/10.66, allocations: 62.19 kB / 3.402 GB, free: 168.8 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.009442/10.67, allocations: 4.855 MB / 3.407 GB, free: 166.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/10.67, allocations: 3.377 MB / 3.41 GB, free: 163.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009936/10.67, allocations: 452.1 kB / 3.411 GB, free: 163.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-05/10.67, allocations: 17.98 kB / 3.411 GB, free: 163.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/10.67, allocations: 406.4 kB / 3.411 GB, free: 163.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 5.34e-06/10.67, allocations: 0 / 3.411 GB, free: 163.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.001939/10.67, allocations: 0.6848 MB / 3.412 GB, free: 163.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/10.67, allocations: 58.69 kB / 3.412 GB, free: 163.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/10.67, allocations: 427.1 kB / 3.412 GB, free: 163 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/10.67, allocations: 25.7 kB / 3.412 GB, free: 163 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/10.67, allocations: 463.5 kB / 3.413 GB, free: 162.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/10.67, allocations: 269.1 kB / 3.413 GB, free: 162.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/10.67, allocations: 0 / 3.413 GB, free: 162.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001357/10.67, allocations: 374.7 kB / 3.413 GB, free: 162.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/10.68, allocations: 260.7 kB / 3.414 GB, free: 162.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/10.68, allocations: 383.4 kB / 3.414 GB, free: 162.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/10.68, allocations: 329 kB / 3.414 GB, free: 162.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/10.68, allocations: 0 / 3.414 GB, free: 162.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001655/10.68, allocations: 0.7543 MB / 3.415 GB, free: 162 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/10.68, allocations: 3.938 kB / 3.415 GB, free: 162 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/10.68, allocations: 3.625 kB / 3.415 GB, free: 162 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/10.68, allocations: 7.031 kB / 3.415 GB, free: 162 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/10.68, allocations: 162.2 kB / 3.415 GB, free: 162 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/10.68, allocations: 7.469 kB / 3.415 GB, free: 162 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/10.68, allocations: 109.4 kB / 3.415 GB, free: 162 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/10.68, allocations: 30.06 kB / 3.415 GB, free: 162 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0002369/10.68, allocations: 123.9 kB / 3.416 GB, free: 161.9 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001474/10.68, allocations: 0.6725 MB / 3.416 GB, free: 161.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/10.68, allocations: 77.22 kB / 3.416 GB, free: 161.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/10.68, allocations: 84.92 kB / 3.416 GB, free: 161.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/10.68, allocations: 12.88 kB / 3.416 GB, free: 161.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/10.68, allocations: 0 / 3.416 GB, free: 161.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/10.69, allocations: 0.9417 MB / 3.417 GB, free: 161.3 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 postOpt removeSimpleEquations (simulation): time 0.004764/10.69, allocations: 2.487 MB / 3.42 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/10.69, allocations: 0 / 3.42 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/10.69, allocations: 183.3 kB / 3.42 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/10.69, allocations: 3.656 kB / 3.42 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/10.69, allocations: 6.5 kB / 3.42 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/10.69, allocations: 3.969 kB / 3.42 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/10.69, allocations: 0 / 3.42 GB, free: 160.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/10.69, allocations: 1.245 MB / 3.421 GB, free: 159.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/10.69, allocations: 239.9 kB / 3.421 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/10.69, allocations: 4 kB / 3.421 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/10.7, allocations: 100.6 kB / 3.421 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/10.7, allocations: 47.83 kB / 3.422 GB, free: 159.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/10.7, allocations: 21.7 kB / 3.422 GB, free: 159.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007465/10.7, allocations: 338.1 kB / 3.422 GB, free: 159.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.91e-07/10.7, allocations: 0 / 3.422 GB, free: 159.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002364/10.7, allocations: 454.5 kB / 3.422 GB, free: 159.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.006911/10.71, allocations: 3.551 MB / 3.426 GB, free: 157.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002173/10.71, allocations: 0.6404 MB / 3.426 GB, free: 157.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/10.71, allocations: 7.812 kB / 3.426 GB, free: 157.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009682/10.71, allocations: 351.8 kB / 3.427 GB, free: 157.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005956/10.72, allocations: 0.4917 MB / 3.427 GB, free: 157.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006641/10.72, allocations: 1.934 MB / 3.429 GB, free: 156.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/10.72, allocations: 1.17 MB / 3.43 GB, free: 155.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002116/10.73, allocations: 248 kB / 3.43 GB, free: 155.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/10.73, allocations: 374.9 kB / 3.431 GB, free: 155.4 MB / 0.823 GB Notification: Performance of SimCode: time 3.847e-06/10.73, allocations: 0 / 3.431 GB, free: 155.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/10.84, allocations: 35.79 MB / 3.466 GB, free: 130.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/10.84, allocations: 134 kB / 3.466 GB, free: 130.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.102/14.95, allocations: 0 / 3.466 GB, free: 130.3 MB / 0.823 GB