Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example8.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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.64/4.64, allocations: 433.2 MB / 440.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.9e-05, allocations: 4 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6347/0.6347, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.8654, allocations: 123 MB / 0.749 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.8657, allocations: 71.89 kB / 0.749 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008737/0.8666, allocations: 417 kB / 0.7494 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8667, allocations: 0 / 0.7494 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.8667, allocations: 0 / 0.7494 GB, free: 4.121 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002704/0.867, allocations: 302.5 kB / 0.7497 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.867, allocations: 12.09 kB / 0.7497 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.8671, allocations: 4 kB / 0.7497 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.8672, allocations: 167 kB / 0.7499 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.8672, allocations: 0 / 0.7499 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.8672, allocations: 0 / 0.7499 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.335e-05/0.8673, allocations: 4 kB / 0.7499 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.8674, allocations: 43.42 kB / 0.7499 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8674, allocations: 3.938 kB / 0.7499 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.8675, allocations: 0 / 0.7499 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.8675, allocations: 4 kB / 0.7499 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.8676, allocations: 135 kB / 0.7501 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.712e-05/0.8677, allocations: 41.05 kB / 0.7501 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.8677, allocations: 13.84 kB / 0.7501 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.8678, allocations: 0 / 0.7501 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.8678, allocations: 38.5 kB / 0.7502 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.8678, allocations: 0 / 0.7502 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001499/0.868, allocations: 37.7 kB / 0.7502 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.8681, allocations: 81.09 kB / 0.7503 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.268e-05/0.8681, allocations: 85 kB / 0.7504 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.8682, allocations: 25.7 kB / 0.7504 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.8682, allocations: 80.14 kB / 0.7505 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.8682, allocations: 15.91 kB / 0.7505 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.8683, allocations: 0 / 0.7505 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8684, allocations: 310.8 kB / 0.7508 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.8684, allocations: 3.938 kB / 0.7508 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.8685, allocations: 17.72 kB / 0.7508 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.8685, allocations: 0 / 0.7508 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8685, allocations: 0 / 0.7508 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.368e-05/0.8686, allocations: 45.7 kB / 0.7508 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.8686, allocations: 8 kB / 0.7508 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.8687, allocations: 3.984 kB / 0.7508 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8687, allocations: 0 / 0.7508 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.716e-05/0.8688, allocations: 7.938 kB / 0.7509 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8688, allocations: 0 / 0.7509 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.8688, allocations: 4 kB / 0.7509 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.8688, allocations: 7.938 kB / 0.7509 GB, free: 2.422 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.192e-05/0.8689, allocations: 105 kB / 0.751 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.535e-05/0.869, allocations: 41.64 kB / 0.751 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.869, allocations: 0 / 0.751 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.8692, allocations: 49.38 kB / 0.7511 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8692, allocations: 0 / 0.7511 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.8692, allocations: 4 kB / 0.7511 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8692, allocations: 0 / 0.7511 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.8694, allocations: 130.2 kB / 0.7512 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8694, allocations: 4.125 kB / 0.7512 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.8694, allocations: 4 kB / 0.7512 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8694, allocations: 7.875 kB / 0.7512 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.8695, allocations: 4 kB / 0.7512 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.8695, allocations: 0 / 0.7512 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.8695, allocations: 0 / 0.7512 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.8696, allocations: 87.66 kB / 0.7513 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.8697, allocations: 81.02 kB / 0.7514 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.8697, allocations: 4 kB / 0.7514 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.8697, allocations: 0 / 0.7514 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.8698, allocations: 0 / 0.7514 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.8698, allocations: 0 / 0.7514 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.378e-05/0.8698, allocations: 75.28 kB / 0.7514 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8699, allocations: 4 kB / 0.7514 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002355/0.8701, allocations: 0 / 0.7514 GB, free: 1.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004408/0.8706, allocations: 0.6859 MB / 0.7521 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.874e-05/0.8706, allocations: 11.98 kB / 0.7521 GB, free: 1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8707, allocations: 4.156 kB / 0.7521 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.8707, allocations: 11.94 kB / 0.7521 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.8708, allocations: 3.984 kB / 0.7521 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.8712, allocations: 78.53 kB / 0.7522 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.8715, allocations: 0.6729 MB / 0.7529 GB, free: 168 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.8715, allocations: 4 kB / 0.7529 GB, free: 164 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.8716, allocations: 7.562 kB / 0.7529 GB, free: 156 kB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.8716, allocations: 4 kB / 0.7529 GB, free: 152 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.9049, allocations: 457.9 kB / 0.7533 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003771/0.9053, allocations: 133.1 kB / 0.7534 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.278, allocations: 4.031 kB / 0.7535 GB, free: 15.51 MB / 0.6355 GB