Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",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.01193/0.01193, allocations: 106.8 kB / 15.05 MB, free: 5.934 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.001193/0.001193, allocations: 180.5 kB / 15.94 MB, free: 5.898 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.198/2.198, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.251/2.251, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004868, allocations: 15.98 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6367/0.6372, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/0.8553, allocations: 125.1 MB / 0.8056 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.8556, allocations: 75.94 kB / 0.8057 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02151/0.8771, allocations: 4.322 MB / 0.8099 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8772, allocations: 0 / 0.8099 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8772, allocations: 0 / 0.8099 GB, free: 12.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005566/0.8778, allocations: 367.3 kB / 0.8103 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.8778, allocations: 12.03 kB / 0.8103 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.8779, allocations: 38.55 kB / 0.8103 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.8779, allocations: 3.906 kB / 0.8103 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.8781, allocations: 175 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.8781, allocations: 0 / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.8782, allocations: 0 / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.8784, allocations: 53.67 kB / 0.8105 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.8784, allocations: 0 / 0.8105 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8785, allocations: 4 kB / 0.8105 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8785, allocations: 4 kB / 0.8105 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.8788, allocations: 43.95 kB / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.8793, allocations: 268.9 kB / 0.8108 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.8795, allocations: 50.53 kB / 0.8109 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008942/0.8805, allocations: 457.5 kB / 0.8113 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.8805, allocations: 34.56 kB / 0.8114 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.325e-06/0.8805, allocations: 0 / 0.8114 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000618/0.8811, allocations: 101.5 kB / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.8812, allocations: 55.41 kB / 0.8115 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.8813, allocations: 104.8 kB / 0.8116 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.8813, allocations: 29.83 kB / 0.8116 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.8814, allocations: 88.12 kB / 0.8117 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.8814, allocations: 11.84 kB / 0.8117 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.8814, allocations: 0 / 0.8117 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8816, allocations: 314.8 kB / 0.812 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.8817, allocations: 19.98 kB / 0.812 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.8819, allocations: 27.97 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.882, allocations: 19.98 kB / 0.8121 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8821, allocations: 0 / 0.8121 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004145/0.8825, allocations: 81.67 kB / 0.8122 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.8825, allocations: 11.98 kB / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.8825, allocations: 0 / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.8826, allocations: 0 / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.8827, allocations: 8 kB / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.8827, allocations: 0 / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.8828, allocations: 19.95 kB / 0.8122 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.8829, allocations: 3.953 kB / 0.8122 GB, free: 9.973 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 (2): * Single equations (assignments): 2 * 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.651e-05/0.883, allocations: 105.8 kB / 0.8123 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.883, allocations: 4 kB / 0.8123 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.8834, allocations: 89.17 kB / 0.8124 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.8834, allocations: 0 / 0.8124 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8835, allocations: 0 / 0.8124 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.8835, allocations: 0 / 0.8124 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.8837, allocations: 161.6 kB / 0.8126 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8837, allocations: 256 / 0.8126 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.8838, allocations: 15.98 kB / 0.8126 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.8838, allocations: 0 / 0.8126 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.8839, allocations: 8.031 kB / 0.8126 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.8839, allocations: 0 / 0.8126 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8839, allocations: 0 / 0.8126 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.8843, allocations: 187.3 kB / 0.8128 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.8843, allocations: 77.11 kB / 0.8128 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.8844, allocations: 3.984 kB / 0.8128 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.8845, allocations: 12 kB / 0.8128 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.8846, allocations: 3.984 kB / 0.8129 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.8846, allocations: 7.938 kB / 0.8129 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.8847, allocations: 79.28 kB / 0.8129 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8847, allocations: 0 / 0.8129 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003137/0.885, allocations: 24.03 kB / 0.813 GB, free: 9.105 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 (2): * Single equations (assignments): 2 * 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.0007886/0.8858, allocations: 0.7319 MB / 0.8137 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.8862, allocations: 39.97 kB / 0.8137 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8862, allocations: 0 / 0.8137 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.8864, allocations: 32.05 kB / 0.8137 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.8866, allocations: 3.984 kB / 0.8137 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.8871, allocations: 146.3 kB / 0.8139 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.8874, allocations: 0.6886 MB / 0.8146 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.8875, allocations: 7.969 kB / 0.8146 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.8875, allocations: 7.438 kB / 0.8146 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/0.8875, allocations: 4 kB / 0.8146 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.9103, allocations: 1.298 MB / 0.8158 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/0.9107, allocations: 182 kB / 0.816 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.11, allocations: 0 / 0.816 GB, free: 5.926 MB / 0.6355 GB