Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.682/4.682, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.975e-05/4.004e-05, allocations: 7.547 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2207, allocations: 98.74 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2281/0.4489, allocations: 123.8 MB / 0.7556 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.4493, allocations: 75.95 kB / 0.7557 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00186/0.4511, allocations: 0.532 MB / 0.7562 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4512, allocations: 0 / 0.7562 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.4512, allocations: 0 / 0.7562 GB, free: 5.336 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.0002599/0.4514, allocations: 314.6 kB / 0.7565 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4515, allocations: 8.031 kB / 0.7565 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.4516, allocations: 30.56 kB / 0.7565 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.4518, allocations: 15.97 kB / 0.7565 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.799e-05/0.4519, allocations: 163 kB / 0.7567 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4519, allocations: 3.984 kB / 0.7567 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.452, allocations: 4 kB / 0.7567 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.4521, allocations: 29.64 kB / 0.7567 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4521, allocations: 4 kB / 0.7567 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4521, allocations: 0 / 0.7567 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.4521, allocations: 0 / 0.7567 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.213e-05/0.4522, allocations: 4 kB / 0.7567 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.4523, allocations: 153.6 kB / 0.7569 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.966e-05/0.4524, allocations: 18.61 kB / 0.7569 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.4524, allocations: 4.859 kB / 0.7569 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4525, allocations: 0 / 0.7569 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4525, allocations: 42.56 kB / 0.7569 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.4525, allocations: 0 / 0.7569 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.4527, allocations: 37.69 kB / 0.757 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4527, allocations: 51.41 kB / 0.757 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.045e-05/0.4528, allocations: 88.94 kB / 0.7571 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.4528, allocations: 25.7 kB / 0.7571 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.4528, allocations: 80.14 kB / 0.7572 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.4529, allocations: 8.016 kB / 0.7572 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4529, allocations: 0 / 0.7572 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.453, allocations: 318.8 kB / 0.7575 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.453, allocations: 3.938 kB / 0.7575 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.453, allocations: 0 / 0.7575 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.4531, allocations: 4 kB / 0.7575 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4531, allocations: 0 / 0.7575 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.574e-05/0.4532, allocations: 41.62 kB / 0.7576 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4532, allocations: 4.094 kB / 0.7576 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4532, allocations: 8 kB / 0.7576 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4533, allocations: 0 / 0.7576 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.4534, allocations: 3.984 kB / 0.7576 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4534, allocations: 0 / 0.7576 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.4535, allocations: 4 kB / 0.7576 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4535, allocations: 0 / 0.7576 GB, free: 3.672 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 8.103e-05/0.4536, allocations: 104.9 kB / 0.7577 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.4536, allocations: 0 / 0.7577 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.4536, allocations: 11.12 kB / 0.7577 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4536, allocations: 0 / 0.7577 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4537, allocations: 0 / 0.7577 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4537, allocations: 0 / 0.7577 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.4538, allocations: 149.6 kB / 0.7579 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4538, allocations: 0 / 0.7579 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.4539, allocations: 4 kB / 0.7579 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4539, allocations: 0 / 0.7579 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4539, allocations: 7.984 kB / 0.7579 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4539, allocations: 0 / 0.7579 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.454, allocations: 11.94 kB / 0.7579 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.968e-05/0.4541, allocations: 53.14 kB / 0.7579 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.4541, allocations: 85.05 kB / 0.758 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.4541, allocations: 0 / 0.758 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.231e-05/0.4542, allocations: 4 kB / 0.758 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.4542, allocations: 3.984 kB / 0.758 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4543, allocations: 0 / 0.758 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.4543, allocations: 79.31 kB / 0.7581 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4543, allocations: 0 / 0.7581 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002174/0.4545, allocations: 4 kB / 0.7581 GB, free: 3.074 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.0003982/0.4549, allocations: 0.5968 MB / 0.7587 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.4551, allocations: 12.03 kB / 0.7587 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4551, allocations: 7.875 kB / 0.7587 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.4551, allocations: 4 kB / 0.7587 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.4553, allocations: 6.047 kB / 0.7587 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.4556, allocations: 77.16 kB / 0.7588 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.4559, allocations: 0.6731 MB / 0.7594 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.219e-05/0.4559, allocations: 8.125 kB / 0.7594 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.456, allocations: 11.38 kB / 0.7595 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.456, allocations: 0 / 0.7595 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.4768, allocations: 0.7411 MB / 0.7602 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/0.4772, allocations: 155.5 kB / 0.7603 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.846, allocations: 0 / 0.7603 GB, free: 0.6914 MB / 0.6355 GB