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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01083/0.01084, allocations: 107.7 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001227/0.001226, allocations: 183.5 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.305/2.305, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.246/2.246, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 16 kB / 0.587 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7862, allocations: 98.71 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/1.012, allocations: 123.9 MB / 0.8044 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.012, allocations: 79.94 kB / 0.8045 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001898/1.014, allocations: 0.5333 MB / 0.805 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/1.014, allocations: 0 / 0.805 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/1.014, allocations: 0 / 0.805 GB, free: 1.699 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002879/1.015, allocations: 315.3 kB / 0.8053 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.015, allocations: 12.09 kB / 0.8053 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/1.015, allocations: 30.56 kB / 0.8053 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/1.015, allocations: 15.97 kB / 0.8053 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.015, allocations: 171 kB / 0.8055 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/1.015, allocations: 0 / 0.8055 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/1.015, allocations: 7.938 kB / 0.8055 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/1.015, allocations: 37.67 kB / 0.8055 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/1.015, allocations: 0 / 0.8055 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.015, allocations: 0 / 0.8055 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.015, allocations: 0 / 0.8055 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/1.016, allocations: 11.98 kB / 0.8056 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/1.016, allocations: 149.6 kB / 0.8057 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/1.016, allocations: 26.53 kB / 0.8057 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/1.016, allocations: 7.984 kB / 0.8057 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.016, allocations: 34.55 kB / 0.8058 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/1.016, allocations: 0 / 0.8058 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0003343/1.016, allocations: 45.75 kB / 0.8058 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/1.016, allocations: 55.39 kB / 0.8059 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.341e-05/1.016, allocations: 85 kB / 0.8059 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/1.016, allocations: 25.7 kB / 0.806 GB, free: 500 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/1.016, allocations: 80.14 kB / 0.806 GB, free: 416 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/1.016, allocations: 7.938 kB / 0.8061 GB, free: 408 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/1.016, allocations: 0 / 0.8061 GB, free: 408 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.017, allocations: 318.8 kB / 0.8064 GB, free: 80 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/1.017, allocations: 8.125 kB / 0.8064 GB, free: 72 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/1.017, allocations: 3.984 kB / 0.8064 GB, free: 68 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/1.017, allocations: 7.953 kB / 0.8064 GB, free: 60 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.017, allocations: 0 / 0.8064 GB, free: 60 kB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002094/1.017, allocations: 49.67 kB / 0.8064 GB, free: 4 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.017, allocations: 4 kB / 0.8064 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.017, allocations: 0 / 0.8064 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.017, allocations: 4.141 kB / 0.8064 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/1.017, allocations: 4 kB / 0.8064 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/1.017, allocations: 0 / 0.8064 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/1.017, allocations: 3.984 kB / 0.8064 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.017, allocations: 7.984 kB / 0.8064 GB, free: 15.98 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 () * Number of clocked 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.893e-05/1.018, allocations: 109.8 kB / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/1.018, allocations: 3.938 kB / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/1.018, allocations: 7.125 kB / 0.8066 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.018, allocations: 4 kB / 0.8066 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.018, allocations: 0 / 0.8066 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.018, allocations: 3.938 kB / 0.8066 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/1.018, allocations: 149.7 kB / 0.8067 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.018, allocations: 3.953 kB / 0.8067 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/1.018, allocations: 4 kB / 0.8067 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.018, allocations: 0 / 0.8067 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/1.018, allocations: 0 / 0.8067 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.018, allocations: 0 / 0.8067 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.018, allocations: 0 / 0.8067 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/1.018, allocations: 73.11 kB / 0.8068 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/1.018, allocations: 81.06 kB / 0.8069 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/1.018, allocations: 0 / 0.8069 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/1.018, allocations: 0 / 0.8069 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/1.018, allocations: 0 / 0.8069 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/1.018, allocations: 7.984 kB / 0.8069 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.618e-05/1.018, allocations: 83.25 kB / 0.807 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.21e-07/1.018, allocations: 0 / 0.807 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002164/1.019, allocations: 0 / 0.807 GB, free: 15.36 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 () * Number of clocked 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.0005402/1.019, allocations: 0.6008 MB / 0.8075 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002055/1.019, allocations: 15.98 kB / 0.8076 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.019, allocations: 0 / 0.8076 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/1.019, allocations: 11.92 kB / 0.8076 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/1.02, allocations: 3.938 kB / 0.8076 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/1.02, allocations: 112.1 kB / 0.8077 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/1.02, allocations: 0.6811 MB / 0.8083 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.692e-05/1.02, allocations: 0 / 0.8083 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/1.02, allocations: 7.438 kB / 0.8084 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/1.02, allocations: 3.938 kB / 0.8084 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/1.037, allocations: 0.7593 MB / 0.8091 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/1.037, allocations: 180.7 kB / 0.8093 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.413, allocations: 0 / 0.8093 GB, free: 12.95 MB / 0.6355 GB