Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.112/4.112, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.473e-05, allocations: 4.5 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 98.74 MB / 0.6289 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.4381, allocations: 123.9 MB / 0.7499 GB, free: 13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4384, allocations: 71.95 kB / 0.75 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006956/0.4454, allocations: 1.542 MB / 0.7515 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4454, allocations: 0 / 0.7515 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.4454, allocations: 4 kB / 0.7515 GB, free: 11.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004633/0.4459, allocations: 350.4 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.446, allocations: 12.03 kB / 0.7519 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.446, allocations: 7.938 kB / 0.7519 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.4462, allocations: 159.1 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.4462, allocations: 4 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.4462, allocations: 0 / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.81e-05/0.4463, allocations: 12 kB / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.07e-05/0.4464, allocations: 37.69 kB / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.4464, allocations: 0 / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4464, allocations: 0 / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4464, allocations: 0 / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.4469, allocations: 261.3 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.96e-05/0.447, allocations: 22.58 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.4471, allocations: 12.92 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008378/0.4479, allocations: 457.4 kB / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.4479, allocations: 34.56 kB / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.448, allocations: 0 / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000209/0.4482, allocations: 41.64 kB / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.4482, allocations: 51.41 kB / 0.7529 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.4483, allocations: 96.97 kB / 0.753 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.4483, allocations: 25.7 kB / 0.753 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.4484, allocations: 88.14 kB / 0.7531 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.4484, allocations: 3.906 kB / 0.7531 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.4484, allocations: 4.031 kB / 0.7531 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4486, allocations: 314.8 kB / 0.7534 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.4486, allocations: 4 kB / 0.7534 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.4486, allocations: 8 kB / 0.7534 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.4487, allocations: 0 / 0.7534 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4487, allocations: 0 / 0.7534 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001118/0.4488, allocations: 45.69 kB / 0.7535 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4489, allocations: 4 kB / 0.7535 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4489, allocations: 4.094 kB / 0.7535 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4489, allocations: 0 / 0.7535 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.449, allocations: 15.92 kB / 0.7535 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4491, allocations: 7.938 kB / 0.7535 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.4492, allocations: 4 kB / 0.7535 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4492, allocations: 0 / 0.7535 GB, free: 9.047 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.109e-05/0.4493, allocations: 112.9 kB / 0.7536 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001176/0.4494, allocations: 41.7 kB / 0.7537 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.4495, allocations: 3.906 kB / 0.7537 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.4496, allocations: 45.44 kB / 0.7537 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4496, allocations: 4 kB / 0.7537 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4497, allocations: 0 / 0.7537 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4497, allocations: 7.891 kB / 0.7537 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.4498, allocations: 134.2 kB / 0.7538 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4499, allocations: 0 / 0.7538 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.45, allocations: 16.05 kB / 0.7539 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.45, allocations: 0 / 0.7539 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.45, allocations: 0 / 0.7539 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.45, allocations: 0 / 0.7539 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.45, allocations: 7.922 kB / 0.7539 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.4502, allocations: 139.5 kB / 0.754 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.4502, allocations: 81.11 kB / 0.7541 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.4503, allocations: 0 / 0.7541 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.4504, allocations: 16.02 kB / 0.7541 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.4505, allocations: 0 / 0.7541 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.4505, allocations: 4 kB / 0.7541 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.4505, allocations: 79.27 kB / 0.7542 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4505, allocations: 0 / 0.7542 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003662/0.4509, allocations: 23.94 kB / 0.7542 GB, free: 8.258 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 (2): * Single equations (assignments): 2 * 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.0006343/0.4516, allocations: 0.7128 MB / 0.7549 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.469e-05/0.4517, allocations: 12 kB / 0.7549 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4517, allocations: 4.094 kB / 0.7549 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/0.4517, allocations: 7.938 kB / 0.7549 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.452, allocations: 8 kB / 0.7549 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.4524, allocations: 101.5 kB / 0.755 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.4527, allocations: 0.6768 MB / 0.7557 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.4527, allocations: 4 kB / 0.7557 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.4528, allocations: 15.42 kB / 0.7557 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of SimCode: time 6.22e-07/0.4528, allocations: 4.062 kB / 0.7557 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.4877, allocations: 0.9148 MB / 0.7566 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/0.4881, allocations: 130.2 kB / 0.7567 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/2.892, allocations: 0 / 0.7567 GB, free: 5.523 MB / 0.6355 GB