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.TrapezoidalIntegration.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.445/4.445, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.961e-05, allocations: 6.609 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2489, allocations: 98.74 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/0.5466, allocations: 123.7 MB / 0.7555 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004381/0.5471, allocations: 75.95 kB / 0.7556 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002762/0.5499, allocations: 0.5476 MB / 0.7561 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.815e-06/0.55, allocations: 0 / 0.7561 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.55, allocations: 0 / 0.7561 GB, free: 5.379 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004624/0.5505, allocations: 352.2 kB / 0.7565 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.5506, allocations: 8.031 kB / 0.7565 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.235e-05/0.5507, allocations: 30.56 kB / 0.7565 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.5508, allocations: 8 kB / 0.7565 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.5509, allocations: 167 kB / 0.7567 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.551, allocations: 0 / 0.7567 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.551, allocations: 4 kB / 0.7567 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.5512, allocations: 61.59 kB / 0.7567 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5513, allocations: 0 / 0.7567 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.5513, allocations: 4 kB / 0.7568 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.5513, allocations: 7.984 kB / 0.7568 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.801e-05/0.5515, allocations: 20 kB / 0.7568 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.552, allocations: 264.8 kB / 0.757 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.063e-05/0.5521, allocations: 14.58 kB / 0.757 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.5522, allocations: 8.922 kB / 0.7571 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.5522, allocations: 3.938 kB / 0.7571 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.5523, allocations: 38.52 kB / 0.7571 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.575e-06/0.5523, allocations: 0 / 0.7571 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002898/0.5526, allocations: 67.39 kB / 0.7572 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.5527, allocations: 81.05 kB / 0.7572 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.5529, allocations: 112.8 kB / 0.7573 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.5529, allocations: 29.7 kB / 0.7574 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.553, allocations: 103.9 kB / 0.7575 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.5531, allocations: 8.031 kB / 0.7575 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.5531, allocations: 0 / 0.7575 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5533, allocations: 314.8 kB / 0.7578 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.5533, allocations: 12 kB / 0.7578 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.5535, allocations: 62.8 kB / 0.7579 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.5536, allocations: 45.69 kB / 0.7579 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5536, allocations: 0 / 0.7579 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003797/0.554, allocations: 119.2 kB / 0.758 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/0.5541, allocations: 33.7 kB / 0.758 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.5541, allocations: 0 / 0.758 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.5542, allocations: 7.953 kB / 0.758 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5543, allocations: 12 kB / 0.7581 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/0.5544, allocations: 7.984 kB / 0.7581 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.5545, allocations: 15.78 kB / 0.7581 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.5545, allocations: 4 kB / 0.7581 GB, free: 3.109 MB / 0.6355 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 () * 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.0001652/0.5547, allocations: 136.6 kB / 0.7582 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.5548, allocations: 4 kB / 0.7582 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.5548, allocations: 7.656 kB / 0.7582 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5549, allocations: 3.953 kB / 0.7582 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5549, allocations: 0 / 0.7582 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5549, allocations: 0 / 0.7582 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.5552, allocations: 149.7 kB / 0.7584 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.5552, allocations: 4 kB / 0.7584 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-06/0.5553, allocations: 0 / 0.7584 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5553, allocations: 0 / 0.7584 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.5553, allocations: 0 / 0.7584 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.5553, allocations: 7.984 kB / 0.7584 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5553, allocations: 3.953 kB / 0.7584 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.5556, allocations: 165.1 kB / 0.7585 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.5557, allocations: 77.11 kB / 0.7586 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.5557, allocations: 7.984 kB / 0.7586 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.5559, allocations: 0 / 0.7586 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.556, allocations: 7.938 kB / 0.7586 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.556, allocations: 15.98 kB / 0.7587 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001728/0.5562, allocations: 83.28 kB / 0.7587 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.383e-06/0.5562, allocations: 0 / 0.7587 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001529/0.5578, allocations: 12 kB / 0.7587 GB, free: 2.34 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 () * 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.001243/0.5591, allocations: 0.7197 MB / 0.7594 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.5593, allocations: 79.34 kB / 0.7595 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5594, allocations: 0 / 0.7595 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.5594, allocations: 55.41 kB / 0.7596 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.5597, allocations: 11.92 kB / 0.7596 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.5601, allocations: 95.2 kB / 0.7597 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.5605, allocations: 0.677 MB / 0.7603 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.995e-05/0.5605, allocations: 20.16 kB / 0.7604 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.5606, allocations: 11.44 kB / 0.7604 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.5606, allocations: 0 / 0.7604 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.5812, allocations: 1.217 MB / 0.7616 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/0.5816, allocations: 171.3 kB / 0.7617 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.117, allocations: 4 kB / 0.7617 GB, free: 15.18 MB / 0.6511 GB