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.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.527/4.527, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.152e-05/4.166e-05, allocations: 8 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6386, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3043/0.9429, allocations: 123.3 MB / 0.7493 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.9433, allocations: 75.94 kB / 0.7493 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005218/0.9485, allocations: 1.22 MB / 0.7505 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9486, allocations: 4 kB / 0.7505 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.9486, allocations: 0 / 0.7505 GB, free: 3.004 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003121/0.9489, allocations: 330.5 kB / 0.7509 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.949, allocations: 8.031 kB / 0.7509 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.949, allocations: 3.938 kB / 0.7509 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.9491, allocations: 163 kB / 0.751 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.9492, allocations: 3.938 kB / 0.751 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.9492, allocations: 4 kB / 0.751 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.421e-05/0.9492, allocations: 0 / 0.751 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.986e-05/0.9493, allocations: 37.62 kB / 0.7511 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9493, allocations: 0 / 0.7511 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.9494, allocations: 0 / 0.7511 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.9494, allocations: 4 kB / 0.7511 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.9495, allocations: 126.2 kB / 0.7512 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.162e-05/0.9496, allocations: 18.58 kB / 0.7512 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.9496, allocations: 8.844 kB / 0.7512 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008801/0.9505, allocations: 445.6 kB / 0.7516 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.9506, allocations: 34.56 kB / 0.7517 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 3.317e-06/0.9506, allocations: 0 / 0.7517 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.9508, allocations: 37.62 kB / 0.7517 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.9509, allocations: 51.41 kB / 0.7518 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.951, allocations: 89.03 kB / 0.7518 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.951, allocations: 25.7 kB / 0.7519 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.9511, allocations: 80.14 kB / 0.7519 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.9511, allocations: 0 / 0.7519 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.9511, allocations: 0 / 0.7519 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.9514, allocations: 310.8 kB / 0.7522 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.9514, allocations: 4 kB / 0.7522 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.185e-05/0.9514, allocations: 0 / 0.7522 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.9515, allocations: 0 / 0.7522 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9515, allocations: 4.062 kB / 0.7523 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001362/0.9517, allocations: 41.66 kB / 0.7523 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.9517, allocations: 7.984 kB / 0.7523 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.9517, allocations: 0 / 0.7523 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9518, allocations: 0 / 0.7523 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.9518, allocations: 0 / 0.7523 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.9519, allocations: 7.938 kB / 0.7523 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.9519, allocations: 0 / 0.7523 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.9519, allocations: 0 / 0.7523 GB, free: 0.9062 MB / 0.6198 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 (1): * Single equations (assignments): 1 * 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.637e-05/0.952, allocations: 105 kB / 0.7524 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.616e-05/0.9521, allocations: 37.59 kB / 0.7524 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.9521, allocations: 0 / 0.7524 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.9523, allocations: 37.44 kB / 0.7525 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9523, allocations: 4 kB / 0.7525 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.9523, allocations: 0 / 0.7525 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9523, allocations: 3.938 kB / 0.7525 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.9524, allocations: 130.2 kB / 0.7526 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9524, allocations: 0 / 0.7526 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.9525, allocations: 12 kB / 0.7526 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9525, allocations: 0 / 0.7526 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.9525, allocations: 0 / 0.7526 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.9525, allocations: 4 kB / 0.7526 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9525, allocations: 0 / 0.7526 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.766e-05/0.9526, allocations: 57.05 kB / 0.7527 GB, free: 464 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.9527, allocations: 89.05 kB / 0.7528 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.9527, allocations: 0 / 0.7528 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-06/0.9527, allocations: 4.031 kB / 0.7528 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.9528, allocations: 0 / 0.7528 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.9528, allocations: 0 / 0.7528 GB, free: 352 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.9528, allocations: 75.28 kB / 0.7528 GB, free: 276 kB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9528, allocations: 0 / 0.7528 GB, free: 276 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003017/0.9531, allocations: 19.94 kB / 0.7529 GB, free: 256 kB / 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): 1 * 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.0006821/0.9538, allocations: 0.6401 MB / 0.7535 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.903e-05/0.9539, allocations: 4 kB / 0.7535 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9539, allocations: 0 / 0.7535 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.954, allocations: 8.094 kB / 0.7535 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.9541, allocations: 2.062 kB / 0.7535 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.9544, allocations: 89.53 kB / 0.7536 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.9547, allocations: 0.6767 MB / 0.7542 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.9548, allocations: 4 kB / 0.7542 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.9548, allocations: 7.438 kB / 0.7543 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of SimCode: time 6.32e-07/0.9548, allocations: 0 / 0.7543 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.9922, allocations: 0.6507 MB / 0.7549 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003355/0.9926, allocations: 141.8 kB / 0.755 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.472, allocations: 0 / 0.755 GB, free: 13.89 MB / 0.6355 GB