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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 4.009/4.009, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.463e-05, allocations: 3.859 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 98.74 MB / 0.6347 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.795/7.044, allocations: 2.183 GB / 2.817 GB, free: 116.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/7.044, allocations: 84.64 kB / 2.818 GB, free: 116.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.087/8.131, allocations: 161.8 MB / 2.976 GB, free: 252.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.264e-06/8.131, allocations: 0 / 2.976 GB, free: 252.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.721e-05/8.131, allocations: 9.266 kB / 2.976 GB, free: 252.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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001168/8.132, allocations: 0.6147 MB / 2.976 GB, free: 252.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/8.132, allocations: 11.28 kB / 2.976 GB, free: 252.5 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.834e-05/8.133, allocations: 58 kB / 2.976 GB, free: 252.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/8.134, allocations: 135.3 kB / 2.976 GB, free: 252.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008727/8.135, allocations: 414.9 kB / 2.977 GB, free: 252.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/8.135, allocations: 23.56 kB / 2.977 GB, free: 252.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/8.135, allocations: 24.75 kB / 2.977 GB, free: 252.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/8.136, allocations: 271.5 kB / 2.977 GB, free: 252.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/8.136, allocations: 2.531 kB / 2.977 GB, free: 252.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/8.136, allocations: 16.61 kB / 2.977 GB, free: 252.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/8.136, allocations: 13.41 kB / 2.977 GB, free: 252.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/8.136, allocations: 187.7 kB / 2.977 GB, free: 252.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/8.139, allocations: 1.308 MB / 2.979 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/8.139, allocations: 198.5 kB / 2.979 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/8.139, allocations: 81.05 kB / 2.979 GB, free: 251.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/8.139, allocations: 3.719 kB / 2.979 GB, free: 251.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/8.139, allocations: 34.52 kB / 2.979 GB, free: 251.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=19): time 3.537e-06/8.139, allocations: 0 / 2.979 GB, free: 251.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.000843/8.14, allocations: 229.4 kB / 2.979 GB, free: 251.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/8.14, allocations: 55.12 kB / 2.979 GB, free: 251.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/8.141, allocations: 268.2 kB / 2.979 GB, free: 251.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/8.141, allocations: 35.89 kB / 2.979 GB, free: 251 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/8.141, allocations: 196.6 kB / 2.98 GB, free: 250.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/8.141, allocations: 65.28 kB / 2.98 GB, free: 250.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/8.141, allocations: 7 kB / 2.98 GB, free: 250.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.36e-05/8.141, allocations: 343.6 kB / 2.98 GB, free: 250.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/8.141, allocations: 56.31 kB / 2.98 GB, free: 250.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/8.142, allocations: 120.6 kB / 2.98 GB, free: 250.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/8.142, allocations: 80.27 kB / 2.98 GB, free: 250.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/8.142, allocations: 3.438 kB / 2.98 GB, free: 250.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004997/8.142, allocations: 238.2 kB / 2.98 GB, free: 250.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/8.142, allocations: 4.656 kB / 2.98 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/8.142, allocations: 3.938 kB / 2.98 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/8.142, allocations: 0 / 2.98 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/8.143, allocations: 53.23 kB / 2.981 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/8.143, allocations: 0.75 kB / 2.981 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/8.143, allocations: 22.33 kB / 2.981 GB, free: 250.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/8.143, allocations: 10.81 kB / 2.981 GB, free: 250.5 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.758e-05/8.143, allocations: 118.4 kB / 2.981 GB, free: 250.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/8.144, allocations: 34.05 kB / 2.981 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/8.144, allocations: 36.55 kB / 2.981 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/8.144, allocations: 3.219 kB / 2.981 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/8.144, allocations: 3.844 kB / 2.981 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/8.144, allocations: 0 / 2.981 GB, free: 250.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/8.144, allocations: 408.5 kB / 2.981 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/8.144, allocations: 0 / 2.981 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/8.145, allocations: 41.64 kB / 2.981 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002796/8.145, allocations: 40.34 kB / 2.981 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/8.145, allocations: 4.938 kB / 2.981 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/8.146, allocations: 1.416 MB / 2.983 GB, free: 248.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/8.146, allocations: 0 / 2.983 GB, free: 248.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/8.147, allocations: 409.3 kB / 2.983 GB, free: 248.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/8.147, allocations: 128.8 kB / 2.983 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/8.148, allocations: 3.75 kB / 2.983 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/8.148, allocations: 17.78 kB / 2.983 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/8.148, allocations: 13.45 kB / 2.983 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/8.148, allocations: 8.969 kB / 2.983 GB, free: 248.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003278/8.148, allocations: 217.2 kB / 2.983 GB, free: 248.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.7e-07/8.148, allocations: 0 / 2.983 GB, free: 248.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007592/8.149, allocations: 156.5 kB / 2.984 GB, free: 248.5 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.001907/8.151, allocations: 1.549 MB / 2.985 GB, free: 247.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000441/8.152, allocations: 162.1 kB / 2.985 GB, free: 247.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/8.152, allocations: 0 / 2.985 GB, free: 247.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003817/8.152, allocations: 191.8 kB / 2.985 GB, free: 247.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/8.154, allocations: 185.9 kB / 2.986 GB, free: 247.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/8.155, allocations: 0.6474 MB / 2.986 GB, free: 247.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/8.156, allocations: 0.8038 MB / 2.987 GB, free: 246.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004616/8.156, allocations: 61 kB / 2.987 GB, free: 246.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/8.156, allocations: 103 kB / 2.987 GB, free: 246.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.263e-06/8.156, allocations: 2.656 kB / 2.987 GB, free: 246.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/8.218, allocations: 22.39 MB / 3.009 GB, free: 245.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/8.218, allocations: 179 kB / 3.009 GB, free: 245.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/11.52, allocations: 0 / 3.009 GB, free: 245.1 MB / 0.823 GB