Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.974/3.974, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.416e-05, allocations: 1.594 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.219, allocations: 98.74 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.572/6.791, allocations: 2.182 GB / 2.811 GB, free: 153.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/6.792, allocations: 83.3 kB / 2.811 GB, free: 153.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5192/7.311, allocations: 159.9 MB / 2.967 GB, free: 2.395 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.753e-06/7.311, allocations: 0 / 2.967 GB, free: 2.395 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.099e-05/7.311, allocations: 8 kB / 2.967 GB, free: 2.387 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00119/7.312, allocations: 0.6228 MB / 2.968 GB, free: 1.719 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/7.312, allocations: 8.031 kB / 2.968 GB, free: 1.711 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/7.314, allocations: 143.4 kB / 2.968 GB, free: 1.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/7.315, allocations: 402.6 kB / 2.968 GB, free: 1.141 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/7.315, allocations: 12 kB / 2.968 GB, free: 1.129 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/7.315, allocations: 19.91 kB / 2.968 GB, free: 1.109 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004933/7.315, allocations: 173.1 kB / 2.969 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/7.316, allocations: 234.6 kB / 2.969 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/7.316, allocations: 0 / 2.969 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/7.316, allocations: 4 kB / 2.969 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/7.316, allocations: 16.52 kB / 2.969 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5536/7.87, allocations: 1.241 MB / 2.97 GB, free: 255.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/7.87, allocations: 187.9 kB / 2.97 GB, free: 255.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/7.87, allocations: 74.81 kB / 2.97 GB, free: 255.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/7.87, allocations: 3.375 kB / 2.97 GB, free: 255.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/7.87, allocations: 34.28 kB / 2.97 GB, free: 255.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 3.026e-06/7.87, allocations: 0 / 2.97 GB, free: 255.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.0008201/7.871, allocations: 219.9 kB / 2.971 GB, free: 255.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/7.871, allocations: 56.78 kB / 2.971 GB, free: 255 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/7.872, allocations: 245.2 kB / 2.971 GB, free: 254.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/7.872, allocations: 25.7 kB / 2.971 GB, free: 254.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/7.872, allocations: 196.3 kB / 2.971 GB, free: 254.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.216e-05/7.872, allocations: 67.62 kB / 2.971 GB, free: 254.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/7.872, allocations: 0 / 2.971 GB, free: 254.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/7.872, allocations: 338.4 kB / 2.971 GB, free: 254.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/7.872, allocations: 56 kB / 2.971 GB, free: 254.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/7.873, allocations: 108.8 kB / 2.972 GB, free: 254.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/7.873, allocations: 80.75 kB / 2.972 GB, free: 254.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/7.873, allocations: 0.5938 kB / 2.972 GB, free: 254.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000493/7.873, allocations: 223.5 kB / 2.972 GB, free: 254.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/7.873, allocations: 5.469 kB / 2.972 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/7.873, allocations: 0 / 2.972 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/7.873, allocations: 3.438 kB / 2.972 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/7.874, allocations: 44.64 kB / 2.972 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/7.874, allocations: 7.609 kB / 2.972 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/7.874, allocations: 20.84 kB / 2.972 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/7.874, allocations: 8.875 kB / 2.972 GB, free: 254.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.485e-05/7.874, allocations: 106.7 kB / 2.972 GB, free: 254.2 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005504/7.875, allocations: 201.6 kB / 2.972 GB, free: 254.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/7.875, allocations: 31.95 kB / 2.972 GB, free: 254.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/7.875, allocations: 41.58 kB / 2.972 GB, free: 254.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/7.875, allocations: 3.5 kB / 2.972 GB, free: 254.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/7.875, allocations: 0.5469 kB / 2.972 GB, free: 254.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/7.875, allocations: 1.172 kB / 2.972 GB, free: 254.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/7.876, allocations: 362.6 kB / 2.973 GB, free: 253.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/7.876, allocations: 4.078 kB / 2.973 GB, free: 253.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/7.876, allocations: 35.08 kB / 2.973 GB, free: 253.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/7.877, allocations: 44.86 kB / 2.973 GB, free: 253.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/7.877, allocations: 4.188 kB / 2.973 GB, free: 253.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/7.878, allocations: 1.379 MB / 2.974 GB, free: 252.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/7.878, allocations: 0 / 2.974 GB, free: 252.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008988/7.879, allocations: 382.7 kB / 2.974 GB, free: 252.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/7.879, allocations: 134.8 kB / 2.975 GB, free: 252.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/7.879, allocations: 4.766 kB / 2.975 GB, free: 252.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/7.88, allocations: 10.52 kB / 2.975 GB, free: 252.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/7.88, allocations: 10.17 kB / 2.975 GB, free: 252.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/7.88, allocations: 9.203 kB / 2.975 GB, free: 252.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003638/7.88, allocations: 196.5 kB / 2.975 GB, free: 252.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.01e-07/7.88, allocations: 0 / 2.975 GB, free: 252.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009267/7.881, allocations: 157.4 kB / 2.975 GB, free: 252.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/7.884, allocations: 1.624 MB / 2.977 GB, free: 251.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004454/7.884, allocations: 142.9 kB / 2.977 GB, free: 251.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/7.884, allocations: 0 / 2.977 GB, free: 251.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004278/7.885, allocations: 191.9 kB / 2.977 GB, free: 251.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/7.886, allocations: 179.2 kB / 2.977 GB, free: 251.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/7.888, allocations: 0.6212 MB / 2.978 GB, free: 251.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/7.889, allocations: 0.8036 MB / 2.978 GB, free: 250.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005012/7.889, allocations: 63.95 kB / 2.978 GB, free: 250.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/7.889, allocations: 107.7 kB / 2.979 GB, free: 250.6 MB / 0.823 GB Notification: Performance of SimCode: time 9.62e-07/7.889, allocations: 0 / 2.979 GB, free: 250.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0685/7.958, allocations: 13.61 MB / 2.992 GB, free: 250.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/7.958, allocations: 136.8 kB / 2.992 GB, free: 250.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/10.93, allocations: 3.938 kB / 2.992 GB, free: 250.2 MB / 0.823 GB