Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01295/0.01296, allocations: 89.58 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.002434/0.002434, allocations: 176.1 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.391/2.391, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.412/2.412, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004879, allocations: 12.47 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2189, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0008497/0.2198, allocations: 332.9 kB / 0.7284 GB, free: 9.82 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.22, allocations: 55.75 kB / 0.7284 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.112e-05/0.2201, allocations: 0 / 0.7284 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.2201, allocations: 0 / 0.7284 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-06/0.2201, allocations: 0 / 0.7284 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.2203, allocations: 15.98 kB / 0.7285 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.359e-05/0.2204, allocations: 0 / 0.7285 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.2204, allocations: 1.594 kB / 0.7285 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.2205, allocations: 0 / 0.7285 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.958e-05/0.2205, allocations: 4 kB / 0.7285 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.2205, allocations: 0 / 0.7285 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.53e-05/0.2206, allocations: 15.98 kB / 0.7285 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.2206, allocations: 3.984 kB / 0.7285 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.2207, allocations: 29.64 kB / 0.7285 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 6.565e-05/0.2208, allocations: 11.98 kB / 0.7285 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2208, allocations: 4 kB / 0.7285 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2208, allocations: 4 kB / 0.7285 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2208, allocations: 0 / 0.7285 GB, free: 9.672 MB / 0.5573 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.0002804/0.2211, allocations: 311.4 kB / 0.7288 GB, free: 9.32 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2211, allocations: 8.094 kB / 0.7288 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.2212, allocations: 34.56 kB / 0.7289 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/0.2215, allocations: 15.97 kB / 0.7289 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.2216, allocations: 163 kB / 0.729 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.2217, allocations: 4 kB / 0.729 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.2217, allocations: 0 / 0.729 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.2219, allocations: 33.69 kB / 0.7291 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2219, allocations: 3.938 kB / 0.7291 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2219, allocations: 0 / 0.7291 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2219, allocations: 4 kB / 0.7291 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.2221, allocations: 15.92 kB / 0.7291 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.2222, allocations: 149.6 kB / 0.7292 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.2223, allocations: 22.61 kB / 0.7293 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.2224, allocations: 3.984 kB / 0.7293 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.2224, allocations: 34.62 kB / 0.7293 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.2224, allocations: 0 / 0.7293 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0003477/0.2228, allocations: 45.62 kB / 0.7293 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2228, allocations: 59.53 kB / 0.7294 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.035e-05/0.2229, allocations: 89.86 kB / 0.7295 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.2229, allocations: 25.7 kB / 0.7295 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.223, allocations: 84.12 kB / 0.7296 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.223, allocations: 3.938 kB / 0.7296 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.223, allocations: 0 / 0.7296 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2231, allocations: 314.8 kB / 0.7299 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.2232, allocations: 4 kB / 0.7299 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.2233, allocations: 11.98 kB / 0.7299 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/0.2234, allocations: 8 kB / 0.7299 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2234, allocations: 0 / 0.7299 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001949/0.2236, allocations: 41.62 kB / 0.73 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2237, allocations: 7.984 kB / 0.73 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2237, allocations: 0 / 0.73 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2237, allocations: 4 kB / 0.73 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.2238, allocations: 8.094 kB / 0.73 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2238, allocations: 0 / 0.73 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.2239, allocations: 4 kB / 0.73 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.2239, allocations: 0 / 0.73 GB, free: 7.965 MB / 0.5573 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.324e-05/0.224, allocations: 113.8 kB / 0.7301 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.224, allocations: 0 / 0.7301 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.224, allocations: 7.078 kB / 0.7301 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2241, allocations: 4 kB / 0.7301 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2241, allocations: 4 kB / 0.7301 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2241, allocations: 0 / 0.7301 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.2242, allocations: 153.6 kB / 0.7302 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2242, allocations: 3.938 kB / 0.7303 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.2243, allocations: 4 kB / 0.7303 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2243, allocations: 0 / 0.7303 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.2243, allocations: 0 / 0.7303 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2243, allocations: 0 / 0.7303 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2243, allocations: 0 / 0.7303 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2246, allocations: 73.05 kB / 0.7303 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.2246, allocations: 81.06 kB / 0.7304 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2246, allocations: 4 kB / 0.7304 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.2247, allocations: 4 kB / 0.7304 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.2247, allocations: 0 / 0.7304 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2247, allocations: 0 / 0.7304 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.2248, allocations: 75.28 kB / 0.7305 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2248, allocations: 4.031 kB / 0.7305 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002236/0.225, allocations: 0 / 0.7305 GB, free: 7.348 MB / 0.5573 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.0005137/0.2255, allocations: 0.6085 MB / 0.7311 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.2257, allocations: 19.95 kB / 0.7311 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2258, allocations: 0 / 0.7311 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.2259, allocations: 11.92 kB / 0.7311 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.226, allocations: 0 / 0.7311 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.2264, allocations: 108.6 kB / 0.7312 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2267, allocations: 0.677 MB / 0.7319 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.844e-05/0.2267, allocations: 4.125 kB / 0.7319 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.2268, allocations: 11.44 kB / 0.7319 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of SimCode: time 6.82e-07/0.2268, allocations: 0 / 0.7319 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.2472, allocations: 0.7498 MB / 0.7326 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003797/0.2476, allocations: 186 kB / 0.7328 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/2.599, allocations: 4 kB / 0.7328 GB, free: 4.922 MB / 0.5573 GB