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.BesselJ0.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.BesselJ0,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.243/4.243, allocations: 433.2 MB / 440.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.968e-05, allocations: 4.906 kB / 0.5325 GB, free: 12.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2301, allocations: 98.74 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.4578, allocations: 123.9 MB / 0.7499 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.4581, allocations: 71.95 kB / 0.75 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006828/0.465, allocations: 1.507 MB / 0.7514 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.465, allocations: 0 / 0.7514 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.4651, allocations: 0 / 0.7514 GB, free: 11.5 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.0005122/0.4656, allocations: 354.4 kB / 0.7518 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.4657, allocations: 16.02 kB / 0.7518 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.4657, allocations: 3.953 kB / 0.7518 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.4658, allocations: 163.1 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4659, allocations: 0 / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.4659, allocations: 0 / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.658e-05/0.466, allocations: 8 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.4661, allocations: 41.69 kB / 0.752 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4661, allocations: 0 / 0.752 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4661, allocations: 4 kB / 0.752 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4662, allocations: 3.938 kB / 0.752 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.4667, allocations: 249.3 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.281e-05/0.4668, allocations: 22.58 kB / 0.7523 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.4668, allocations: 12.92 kB / 0.7523 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007945/0.4676, allocations: 441.5 kB / 0.7527 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.4677, allocations: 34.55 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.4677, allocations: 0 / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002103/0.4679, allocations: 45.69 kB / 0.7528 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.4679, allocations: 55.41 kB / 0.7528 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.468, allocations: 96.88 kB / 0.7529 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4681, allocations: 25.7 kB / 0.7529 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.4681, allocations: 84.14 kB / 0.753 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.4682, allocations: 11.83 kB / 0.753 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4682, allocations: 0 / 0.753 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4683, allocations: 318.8 kB / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.4683, allocations: 4 kB / 0.7533 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/0.4684, allocations: 8.031 kB / 0.7533 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.4684, allocations: 4 kB / 0.7533 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4684, allocations: 0 / 0.7533 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/0.4686, allocations: 37.7 kB / 0.7534 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4686, allocations: 7.984 kB / 0.7534 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.4686, allocations: 4 kB / 0.7534 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4686, allocations: 0 / 0.7534 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.4688, allocations: 8.094 kB / 0.7534 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.4688, allocations: 4 kB / 0.7534 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.4689, allocations: 7.984 kB / 0.7534 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.4689, allocations: 4 kB / 0.7534 GB, free: 9.168 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 9.61e-05/0.469, allocations: 113.6 kB / 0.7535 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00012/0.4692, allocations: 37.69 kB / 0.7536 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.4692, allocations: 7.906 kB / 0.7536 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.4694, allocations: 53.47 kB / 0.7536 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4694, allocations: 0 / 0.7536 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4694, allocations: 0 / 0.7536 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4694, allocations: 3.953 kB / 0.7536 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.4697, allocations: 134.2 kB / 0.7538 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4697, allocations: 0 / 0.7538 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.4698, allocations: 15.92 kB / 0.7538 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4698, allocations: 0 / 0.7538 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4698, allocations: 4 kB / 0.7538 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4698, allocations: 0 / 0.7538 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4698, allocations: 4.031 kB / 0.7538 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.47, allocations: 139.5 kB / 0.7539 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.4701, allocations: 85.05 kB / 0.754 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.4701, allocations: 0 / 0.754 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4703, allocations: 7.984 kB / 0.754 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.4703, allocations: 7.938 kB / 0.754 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.4703, allocations: 4.031 kB / 0.754 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.4704, allocations: 79.28 kB / 0.7541 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4704, allocations: 0 / 0.7541 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000364/0.4708, allocations: 23.94 kB / 0.7541 GB, free: 8.375 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.0007364/0.4715, allocations: 0.7129 MB / 0.7548 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.979e-05/0.4716, allocations: 12 kB / 0.7548 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4717, allocations: 0 / 0.7548 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.4717, allocations: 8 kB / 0.7548 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.4719, allocations: 128 / 0.7548 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.4724, allocations: 109.5 kB / 0.7549 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.4727, allocations: 0.6768 MB / 0.7556 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.4727, allocations: 0 / 0.7556 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.4728, allocations: 15.44 kB / 0.7556 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of SimCode: time 9.21e-07/0.4728, allocations: 0 / 0.7556 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.506, allocations: 0.9198 MB / 0.7565 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.5062, allocations: 130.2 kB / 0.7566 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/2.967, allocations: 0 / 0.7566 GB, free: 5.648 MB / 0.6355 GB