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 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.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01222/0.01223, allocations: 222.1 kB / 15.17 MB, free: 5.992 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.001138/0.001138, allocations: 183.1 kB / 16.06 MB, free: 5.867 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 4.009/4.009, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.302/4.302, allocations: 472.3 MB / 0.9017 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004961, allocations: 20 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7315, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0008141/0.7324, allocations: 312.5 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.7326, allocations: 36.47 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.7326, allocations: 0 / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.7327, allocations: 0 / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.339e-05/0.7327, allocations: 5.906 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.7329, allocations: 11.53 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.733, allocations: 3.188 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.733, allocations: 0 / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.733, allocations: 8.062 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.756e-05/0.7331, allocations: 1.375 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.7331, allocations: 1.094 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.7332, allocations: 20.98 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.7332, allocations: 6.188 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.7333, allocations: 29.7 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.252e-05/0.7333, allocations: 18.22 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7334, allocations: 0 / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7334, allocations: 0 / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.7334, allocations: 1.031 kB / 1.105 GB, free: 212.6 MB / 0.7292 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.000268/0.7337, allocations: 349.2 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.7337, allocations: 9.219 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.7338, allocations: 40.94 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.7338, allocations: 1.406 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.699e-05/0.7339, allocations: 168.5 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.7339, allocations: 4.969 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.7339, allocations: 1.312 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.7341, allocations: 53.36 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.7341, allocations: 0 / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.7341, allocations: 1.094 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.7341, allocations: 10.36 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/0.7342, allocations: 28.91 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.7345, allocations: 269.5 kB / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.312e-05/0.7346, allocations: 16.52 kB / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.7346, allocations: 7.109 kB / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.7346, allocations: 3.406 kB / 1.105 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.7347, allocations: 35.52 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.7347, allocations: 1.094 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001742/0.7349, allocations: 73.25 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.7349, allocations: 77.11 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.735, allocations: 121.1 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.735, allocations: 29.2 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.7351, allocations: 100.5 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.7351, allocations: 3.938 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.7351, allocations: 3.938 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.7352, allocations: 318 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.7352, allocations: 9.312 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.7353, allocations: 62.7 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.7354, allocations: 52.23 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7354, allocations: 2.844 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001836/0.7356, allocations: 124 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.7356, allocations: 35.77 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7357, allocations: 5.969 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7357, allocations: 1.562 kB / 1.106 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.7358, allocations: 10.94 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7358, allocations: 7.312 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.7359, allocations: 2.062 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.7359, allocations: 6.938 kB / 1.107 GB, free: 210.6 MB / 0.7292 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 8.155e-05/0.736, allocations: 149.8 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.7361, allocations: 5.75 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.7361, allocations: 11.78 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.7361, allocations: 3.953 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7361, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.7361, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.7363, allocations: 155.4 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7363, allocations: 0 / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.7363, allocations: 3.312 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.7363, allocations: 0 / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.7363, allocations: 3.125 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7363, allocations: 0 / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7363, allocations: 8.031 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.7365, allocations: 159.9 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.7365, allocations: 86.2 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.7365, allocations: 2 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.7366, allocations: 1.562 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.7366, allocations: 7.453 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.7367, allocations: 6.141 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.7367, allocations: 86.94 kB / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7367, allocations: 3.469 kB / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000325/0.737, allocations: 10.59 kB / 1.107 GB, free: 209.9 MB / 0.7292 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.0003472/0.7374, allocations: 0.7156 MB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.7376, allocations: 91.92 kB / 1.108 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7376, allocations: 0 / 1.108 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.7376, allocations: 61.81 kB / 1.108 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.7379, allocations: 0 / 1.108 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.7383, allocations: 155.8 kB / 1.108 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.7385, allocations: 0.6781 MB / 1.109 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.7386, allocations: 17.69 kB / 1.109 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.7386, allocations: 7.438 kB / 1.109 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.7386, allocations: 0 / 1.109 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.7604, allocations: 1.221 MB / 1.11 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.7607, allocations: 215 kB / 1.11 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.191, allocations: 0 / 1.11 GB, free: 207.9 MB / 0.7292 GB