Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.048/4.048, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.912e-05, allocations: 4.031 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 98.72 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.4369, allocations: 123.1 MB / 0.7491 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4372, allocations: 71.95 kB / 0.7492 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005548/0.4378, allocations: 380.7 kB / 0.7495 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4378, allocations: 0 / 0.7495 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4378, allocations: 0 / 0.7495 GB, free: 13.41 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002479/0.4381, allocations: 306.6 kB / 0.7498 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4381, allocations: 12.03 kB / 0.7498 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.4382, allocations: 11.94 kB / 0.7498 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.91e-05/0.4383, allocations: 159.1 kB / 0.75 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4383, allocations: 4 kB / 0.75 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.4384, allocations: 0 / 0.75 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.639e-05/0.4384, allocations: 0 / 0.75 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.754e-05/0.4385, allocations: 29.7 kB / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4385, allocations: 3.984 kB / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.4385, allocations: 0 / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4385, allocations: 0 / 0.75 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.4387, allocations: 134.1 kB / 0.7502 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.489e-05/0.4387, allocations: 22.52 kB / 0.7502 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.4388, allocations: 12.94 kB / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.4388, allocations: 0 / 0.7502 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.4388, allocations: 30.56 kB / 0.7502 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.4388, allocations: 0 / 0.7502 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001152/0.439, allocations: 29.7 kB / 0.7503 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.439, allocations: 51.41 kB / 0.7503 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.868e-05/0.4391, allocations: 89.03 kB / 0.7504 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.4391, allocations: 25.7 kB / 0.7504 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.4391, allocations: 84.14 kB / 0.7505 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.4392, allocations: 4 kB / 0.7505 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.4392, allocations: 3.938 kB / 0.7505 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4393, allocations: 310.8 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-06/0.4393, allocations: 0 / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-06/0.4393, allocations: 0 / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.4394, allocations: 12 kB / 0.7508 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4394, allocations: 3.953 kB / 0.7508 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.207e-05/0.4395, allocations: 33.69 kB / 0.7508 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4395, allocations: 4 kB / 0.7508 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4395, allocations: 0 / 0.7508 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4395, allocations: 0 / 0.7508 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.4396, allocations: 4 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.4396, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.4396, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.4397, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.468e-05/0.4397, allocations: 105 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.364e-05/0.4398, allocations: 45.58 kB / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.4398, allocations: 0 / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.4398, allocations: 7.75 kB / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4399, allocations: 0 / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4399, allocations: 0 / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4399, allocations: 0 / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.569e-05/0.44, allocations: 126.2 kB / 0.7511 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.44, allocations: 8 kB / 0.7511 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.44, allocations: 0 / 0.7511 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.44, allocations: 4.031 kB / 0.7511 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4401, allocations: 3.984 kB / 0.7511 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4401, allocations: 0 / 0.7511 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4401, allocations: 0 / 0.7511 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.285e-05/0.4402, allocations: 53.14 kB / 0.7512 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.4402, allocations: 81.06 kB / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.4402, allocations: 3.938 kB / 0.7513 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-06/0.4402, allocations: 4.031 kB / 0.7513 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.4403, allocations: 3.984 kB / 0.7513 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4403, allocations: 4 kB / 0.7513 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.4403, allocations: 75.28 kB / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.029e-06/0.4403, allocations: 0 / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002265/0.4406, allocations: 7.875 kB / 0.7514 GB, free: 11.26 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0003499/0.4409, allocations: 0.5929 MB / 0.7519 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.564e-05/0.441, allocations: 8 kB / 0.7519 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.441, allocations: 0 / 0.7519 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.755e-06/0.441, allocations: 0 / 0.7519 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.4412, allocations: 5.562 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.4414, allocations: 73.66 kB / 0.752 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.4417, allocations: 0.673 MB / 0.7527 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.397e-05/0.4417, allocations: 4 kB / 0.7527 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.4418, allocations: 7.438 kB / 0.7527 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4418, allocations: 0 / 0.7527 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.4742, allocations: 412.9 kB / 0.7531 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/0.4745, allocations: 138.5 kB / 0.7532 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.627, allocations: 0 / 0.7532 GB, free: 9.203 MB / 0.6355 GB