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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.303/4.303, allocations: 433.2 MB / 440.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.24e-05/4.241e-05, allocations: 8 kB / 0.5325 GB, free: 1.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6465/0.6466, allocations: 98.72 MB / 0.6289 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2463/0.893, allocations: 123 MB / 0.7491 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.8933, allocations: 79.94 kB / 0.7491 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001644/0.895, allocations: 0.5527 MB / 0.7497 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.895, allocations: 0 / 0.7497 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.895, allocations: 0 / 0.7497 GB, free: 3.988 MB / 0.6198 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.0003012/0.8953, allocations: 344.3 kB / 0.75 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.8954, allocations: 8.031 kB / 0.75 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.8954, allocations: 8 kB / 0.75 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.8956, allocations: 171 kB / 0.7502 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.8956, allocations: 3.938 kB / 0.7502 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.8956, allocations: 0 / 0.7502 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.718e-05/0.8957, allocations: 24 kB / 0.7502 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.8958, allocations: 49.69 kB / 0.7503 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.8959, allocations: 3.984 kB / 0.7503 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.8959, allocations: 7.938 kB / 0.7503 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.8959, allocations: 11.98 kB / 0.7503 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.8963, allocations: 233.4 kB / 0.7505 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.8963, allocations: 26.52 kB / 0.7505 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.8964, allocations: 8.844 kB / 0.7505 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.8964, allocations: 0 / 0.7505 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.8964, allocations: 38.62 kB / 0.7506 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.8964, allocations: 0 / 0.7506 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.8966, allocations: 37.66 kB / 0.7506 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.8967, allocations: 77.11 kB / 0.7507 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.8968, allocations: 108.9 kB / 0.7508 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.8968, allocations: 29.7 kB / 0.7508 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.8969, allocations: 103.8 kB / 0.7509 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.8969, allocations: 4 kB / 0.7509 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.8969, allocations: 0 / 0.7509 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8971, allocations: 318.9 kB / 0.7512 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.8971, allocations: 4 kB / 0.7512 GB, free: 2.195 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.8972, allocations: 62.8 kB / 0.7513 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.14e-05/0.8973, allocations: 19.98 kB / 0.7513 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8973, allocations: 4 kB / 0.7513 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001949/0.8975, allocations: 81.45 kB / 0.7514 GB, free: 2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.8975, allocations: 29.95 kB / 0.7514 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8976, allocations: 8 kB / 0.7514 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8976, allocations: 0 / 0.7514 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.8977, allocations: 19.92 kB / 0.7514 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.8977, allocations: 7.953 kB / 0.7514 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.8978, allocations: 7.938 kB / 0.7515 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.8978, allocations: 4 kB / 0.7515 GB, free: 1.918 MB / 0.6198 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 9.223e-05/0.8979, allocations: 130.7 kB / 0.7516 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001112/0.8981, allocations: 53.47 kB / 0.7516 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.8981, allocations: 8.031 kB / 0.7516 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.8981, allocations: 7.922 kB / 0.7516 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.8981, allocations: 0 / 0.7516 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8982, allocations: 0 / 0.7516 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.8982, allocations: 0 / 0.7516 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.8983, allocations: 134.2 kB / 0.7518 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8983, allocations: 3.938 kB / 0.7518 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-06/0.8984, allocations: 4 kB / 0.7518 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8984, allocations: 0 / 0.7518 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.8984, allocations: 0 / 0.7518 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8984, allocations: 0 / 0.7518 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.8984, allocations: 7.953 kB / 0.7518 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.8986, allocations: 135.5 kB / 0.7519 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.8986, allocations: 81.02 kB / 0.752 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.8987, allocations: 4 kB / 0.752 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.8987, allocations: 7.938 kB / 0.752 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.8988, allocations: 0 / 0.752 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.8988, allocations: 3.953 kB / 0.752 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.8989, allocations: 91.38 kB / 0.7521 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8989, allocations: 0 / 0.7521 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003417/0.8992, allocations: 12 kB / 0.7521 GB, free: 1.16 MB / 0.6198 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.0005003/0.8997, allocations: 0.6734 MB / 0.7528 GB, free: 468 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.8999, allocations: 87.36 kB / 0.7529 GB, free: 368 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8999, allocations: 0 / 0.7529 GB, free: 368 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.9, allocations: 59.41 kB / 0.7529 GB, free: 296 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.9002, allocations: 2.266 kB / 0.7529 GB, free: 296 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.9006, allocations: 101.5 kB / 0.753 GB, free: 156 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.9009, allocations: 0.6768 MB / 0.7537 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.271e-05/0.901, allocations: 16.73 kB / 0.7537 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.901, allocations: 15.44 kB / 0.7537 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of SimCode: time 3.807e-06/0.9011, allocations: 0 / 0.7537 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.9347, allocations: 0.9338 MB / 0.7546 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/0.935, allocations: 154.7 kB / 0.7548 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.208, allocations: 0 / 0.7548 GB, free: 14.31 MB / 0.6355 GB