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.TrapezoidalIntegration.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.TrapezoidalIntegration,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.01069/0.0107, allocations: 88.61 kB / 15.04 MB, free: 6.062 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.001246/0.001246, allocations: 167.7 kB / 15.92 MB, free: 6.008 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.187/2.187, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.301/2.301, allocations: 252.8 MB / 0.511 GB, free: 8.305 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004748, allocations: 14.16 kB / 0.6243 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2449, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0008325/0.2458, allocations: 333 kB / 0.7284 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002088/0.246, allocations: 35.91 kB / 0.7284 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.2461, allocations: 0 / 0.7284 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.2461, allocations: 7.938 kB / 0.7284 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.2461, allocations: 0 / 0.7284 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.2463, allocations: 11.98 kB / 0.7284 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.2464, allocations: 0 / 0.7284 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.2464, allocations: 4 kB / 0.7284 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.514e-05/0.2465, allocations: 0 / 0.7284 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.2465, allocations: 11.92 kB / 0.7285 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2465, allocations: 0 / 0.7285 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.2466, allocations: 15.98 kB / 0.7285 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.2467, allocations: 1.594 kB / 0.7285 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.2467, allocations: 29.7 kB / 0.7285 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 7.708e-05/0.2468, allocations: 23.97 kB / 0.7285 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2468, allocations: 0 / 0.7285 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2468, allocations: 0 / 0.7285 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.954e-06/0.2468, allocations: 0 / 0.7285 GB, free: 9.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003557/0.2472, allocations: 345.1 kB / 0.7289 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.2473, allocations: 8.031 kB / 0.7289 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.001e-05/0.2473, allocations: 42.55 kB / 0.7289 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.2474, allocations: 0 / 0.7289 GB, free: 9.219 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2475, allocations: 167.2 kB / 0.7291 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2475, allocations: 4 kB / 0.7291 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.2475, allocations: 7.984 kB / 0.7291 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.2477, allocations: 53.69 kB / 0.7291 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.2477, allocations: 0 / 0.7291 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.2477, allocations: 0 / 0.7291 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.2478, allocations: 7.984 kB / 0.7291 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.2478, allocations: 23.98 kB / 0.7292 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.2482, allocations: 280.7 kB / 0.7294 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.402e-05/0.2483, allocations: 14.58 kB / 0.7294 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.2483, allocations: 7.922 kB / 0.7294 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.2484, allocations: 34.62 kB / 0.7295 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.2484, allocations: 0 / 0.7295 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0002005/0.2486, allocations: 71.3 kB / 0.7295 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.2487, allocations: 77.11 kB / 0.7296 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2488, allocations: 125.9 kB / 0.7297 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2488, allocations: 25.7 kB / 0.7298 GB, free: 8.176 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.2489, allocations: 99.8 kB / 0.7299 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.2489, allocations: 4 kB / 0.7299 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.249, allocations: 0 / 0.7299 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2491, allocations: 318.8 kB / 0.7302 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.822e-05/0.2492, allocations: 8 kB / 0.7302 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/0.2492, allocations: 58.86 kB / 0.7302 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.2493, allocations: 49.62 kB / 0.7303 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2493, allocations: 4 kB / 0.7303 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002169/0.2496, allocations: 115.2 kB / 0.7304 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.2496, allocations: 29.7 kB / 0.7304 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2496, allocations: 4 kB / 0.7304 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2497, allocations: 3.953 kB / 0.7304 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.2498, allocations: 19.92 kB / 0.7304 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2498, allocations: 4 kB / 0.7305 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.2499, allocations: 12.16 kB / 0.7305 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.2499, allocations: 12 kB / 0.7305 GB, free: 7.387 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001283/0.2501, allocations: 151.4 kB / 0.7306 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.2501, allocations: 4 kB / 0.7306 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.2502, allocations: 7.484 kB / 0.7306 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2502, allocations: 3.953 kB / 0.7306 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2502, allocations: 4 kB / 0.7306 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2502, allocations: 3.938 kB / 0.7306 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.2504, allocations: 149.7 kB / 0.7308 GB, free: 7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2504, allocations: 0 / 0.7308 GB, free: 7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.2504, allocations: 4 kB / 0.7308 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2504, allocations: 0 / 0.7308 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2504, allocations: 0 / 0.7308 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2504, allocations: 0 / 0.7308 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.2505, allocations: 3.953 kB / 0.7308 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.2506, allocations: 177.1 kB / 0.731 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.2507, allocations: 77.11 kB / 0.731 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2507, allocations: 4.031 kB / 0.731 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.2508, allocations: 0 / 0.731 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.2508, allocations: 4 kB / 0.731 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.2509, allocations: 7.938 kB / 0.731 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.2509, allocations: 87.22 kB / 0.7311 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2509, allocations: 0 / 0.7311 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003679/0.2513, allocations: 12 kB / 0.7311 GB, free: 6.59 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005198/0.2518, allocations: 0.7064 MB / 0.7318 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.252, allocations: 83.33 kB / 0.7319 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.252, allocations: 0 / 0.7319 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.2521, allocations: 59.34 kB / 0.732 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.2523, allocations: 7.672 kB / 0.732 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.2527, allocations: 140.4 kB / 0.7321 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.253, allocations: 0.6809 MB / 0.7328 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.2532, allocations: 8.172 kB / 0.7328 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.2532, allocations: 19.42 kB / 0.7328 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/0.2532, allocations: 0 / 0.7328 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.2781, allocations: 1.215 MB / 0.734 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/0.2785, allocations: 200.2 kB / 0.7342 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/2.814, allocations: 0 / 0.7342 GB, free: 3.426 MB / 0.5573 GB