Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks",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.01028/0.01029, allocations: 87.36 kB / 15.04 MB, free: 6.059 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.001192/0.001192, allocations: 171.2 kB / 15.92 MB, free: 5.996 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.62/2.62, 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.587/2.587, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006358/0.0006361, allocations: 10.44 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2323, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002616/0.2349, allocations: 1.454 MB / 0.7295 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2365, allocations: 0.6333 MB / 0.7301 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.2367, allocations: 4 kB / 0.7301 GB, free: 6 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.2367, allocations: 7.938 kB / 0.7301 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.2368, allocations: 19.89 kB / 0.7301 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007893/0.2376, allocations: 147.7 kB / 0.7303 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.2378, allocations: 67.86 kB / 0.7303 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.238, allocations: 41.25 kB / 0.7304 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2382, allocations: 55.83 kB / 0.7304 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2383, allocations: 35.78 kB / 0.7305 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.2383, allocations: 4 kB / 0.7305 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.2385, allocations: 35.97 kB / 0.7305 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.2385, allocations: 19.91 kB / 0.7305 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.2386, allocations: 41.64 kB / 0.7306 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.2388, allocations: 100 kB / 0.7307 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2388, allocations: 0 / 0.7307 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2388, allocations: 0 / 0.7307 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2388, allocations: 0 / 0.7307 GB, free: 5.426 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000754/0.2396, allocations: 419 kB / 0.7311 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2397, allocations: 11.97 kB / 0.7311 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.2397, allocations: 38.56 kB / 0.7311 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.2412, allocations: 147.7 kB / 0.7312 GB, free: 4.766 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.2414, allocations: 182.8 kB / 0.7314 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.2415, allocations: 59.41 kB / 0.7315 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.2416, allocations: 8 kB / 0.7315 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.2425, allocations: 189.5 kB / 0.7317 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2426, allocations: 4 kB / 0.7317 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.2426, allocations: 3.953 kB / 0.7317 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.2426, allocations: 4 kB / 0.7317 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.2438, allocations: 195.8 kB / 0.7319 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.2457, allocations: 0.4979 MB / 0.7323 GB, free: 3.523 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.2476, allocations: 274.2 kB / 0.7326 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.2477, allocations: 0 / 0.7326 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.2477, allocations: 38.69 kB / 0.7326 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.2477, allocations: 0 / 0.7326 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.001923/0.2497, allocations: 313.5 kB / 0.7329 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.2498, allocations: 51.41 kB / 0.733 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.2499, allocations: 148.8 kB / 0.7331 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.25, allocations: 25.7 kB / 0.7332 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.2501, allocations: 112.1 kB / 0.7333 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.2502, allocations: 31.59 kB / 0.7333 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.2502, allocations: 0 / 0.7333 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2503, allocations: 322.8 kB / 0.7336 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.2509, allocations: 87.92 kB / 0.7337 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.2515, allocations: 114.5 kB / 0.7338 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/0.2521, allocations: 91.92 kB / 0.7339 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2521, allocations: 0 / 0.7339 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001301/0.2534, allocations: 233.4 kB / 0.7341 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.2535, allocations: 12.05 kB / 0.7341 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2535, allocations: 3.938 kB / 0.7341 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2535, allocations: 7.984 kB / 0.7341 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.254, allocations: 39.95 kB / 0.7342 GB, free: 1.578 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.254, allocations: 11.89 kB / 0.7342 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.2544, allocations: 31.97 kB / 0.7342 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.2545, allocations: 3.984 kB / 0.7342 GB, free: 1.531 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.000149/0.2546, allocations: 121.8 kB / 0.7343 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.2547, allocations: 7.906 kB / 0.7343 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.256, allocations: 238.2 kB / 0.7346 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.256, allocations: 0 / 0.7346 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2561, allocations: 0 / 0.7346 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2561, allocations: 3.953 kB / 0.7346 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.2564, allocations: 238.3 kB / 0.7348 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2565, allocations: 4.312 kB / 0.7348 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.2569, allocations: 43.95 kB / 0.7348 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.257, allocations: 0 / 0.7348 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.257, allocations: 12 kB / 0.7349 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.257, allocations: 0 / 0.7349 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.257, allocations: 0 / 0.7349 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.2583, allocations: 319.2 kB / 0.7352 GB, free: 496 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.2584, allocations: 85.02 kB / 0.7352 GB, free: 392 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2584, allocations: 0 / 0.7352 GB, free: 392 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005602/0.259, allocations: 51.94 kB / 0.7353 GB, free: 340 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.2591, allocations: 4 kB / 0.7353 GB, free: 336 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.2591, allocations: 7.984 kB / 0.7353 GB, free: 328 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001047/0.2592, allocations: 107.2 kB / 0.7354 GB, free: 220 kB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-07/0.2592, allocations: 3.938 kB / 0.7354 GB, free: 216 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003752/0.2596, allocations: 24 kB / 0.7354 GB, free: 192 kB / 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 (6): * Single equations (assignments): 6 * 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.001652/0.2613, allocations: 0.849 MB / 0.7363 GB, free: 15.31 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.2625, allocations: 195.8 kB / 0.7364 GB, free: 15.12 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2626, allocations: 0 / 0.7364 GB, free: 15.12 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.2632, allocations: 108 kB / 0.7366 GB, free: 15.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.2635, allocations: 11.89 kB / 0.7366 GB, free: 15 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.265, allocations: 0.8071 MB / 0.7374 GB, free: 14.14 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.2653, allocations: 0.7121 MB / 0.738 GB, free: 13.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.2655, allocations: 19.94 kB / 0.7381 GB, free: 13.38 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2656, allocations: 35.41 kB / 0.7381 GB, free: 13.34 MB / 0.573 GB Notification: Performance of SimCode: time 1.372e-06/0.2656, allocations: 0 / 0.7381 GB, free: 13.34 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.2914, allocations: 2.372 MB / 0.7404 GB, free: 11.09 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.2918, allocations: 181.1 kB / 0.7406 GB, free: 10.84 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.668, allocations: 0 / 0.7406 GB, free: 10.84 MB / 0.573 GB