Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ0.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01017/0.01017, allocations: 88.19 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001175/0.001175, allocations: 171.9 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.109/2.109, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.346/2.346, allocations: 252.8 MB / 0.511 GB, free: 8.367 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000721/0.0007212, allocations: 19.31 kB / 0.6243 GB, free: 21.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2908, allocations: 106.2 MB / 0.7281 GB, free: 8.133 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002778/0.2936, allocations: 1.156 MB / 0.7292 GB, free: 6.961 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0008785/0.2945, allocations: 232.3 kB / 0.7294 GB, free: 6.73 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.2946, allocations: 4 kB / 0.7294 GB, free: 6.727 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.2947, allocations: 0 / 0.7294 GB, free: 6.727 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 5.398e-05/0.2947, allocations: 0 / 0.7294 GB, free: 6.727 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.2952, allocations: 43.88 kB / 0.7295 GB, free: 6.684 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.2953, allocations: 8 kB / 0.7295 GB, free: 6.676 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/0.2954, allocations: 4 kB / 0.7295 GB, free: 6.672 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.2954, allocations: 15.91 kB / 0.7295 GB, free: 6.656 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.2955, allocations: 4 kB / 0.7295 GB, free: 6.652 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.2955, allocations: 0 / 0.7295 GB, free: 6.652 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002553/0.2958, allocations: 75.81 kB / 0.7296 GB, free: 6.578 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.2958, allocations: 0 / 0.7296 GB, free: 6.578 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.2959, allocations: 29.7 kB / 0.7296 GB, free: 6.543 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.2961, allocations: 35.92 kB / 0.7296 GB, free: 6.508 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2961, allocations: 0 / 0.7296 GB, free: 6.508 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2961, allocations: 0 / 0.7296 GB, free: 6.508 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2961, allocations: 0 / 0.7296 GB, free: 6.508 MB / 0.5574 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.0007232/0.2969, allocations: 351.6 kB / 0.73 GB, free: 6.117 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.2969, allocations: 8.031 kB / 0.73 GB, free: 6.109 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.297, allocations: 30.56 kB / 0.73 GB, free: 6.07 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.2971, allocations: 4 kB / 0.73 GB, free: 6.066 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.2973, allocations: 166.9 kB / 0.7302 GB, free: 5.863 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.2973, allocations: 3.938 kB / 0.7302 GB, free: 5.859 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.2973, allocations: 8 kB / 0.7302 GB, free: 5.852 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.2977, allocations: 53.67 kB / 0.7302 GB, free: 5.793 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2977, allocations: 0 / 0.7302 GB, free: 5.793 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.2977, allocations: 4 kB / 0.7302 GB, free: 5.789 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2977, allocations: 0 / 0.7302 GB, free: 5.789 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.2982, allocations: 43.95 kB / 0.7303 GB, free: 5.746 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.2987, allocations: 248.9 kB / 0.7305 GB, free: 5.453 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.299, allocations: 46.48 kB / 0.7306 GB, free: 5.398 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.3002, allocations: 453.5 kB / 0.731 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.3003, allocations: 34.5 kB / 0.731 GB, free: 4.82 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=2): time 2.836e-06/0.3003, allocations: 0 / 0.731 GB, free: 4.82 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2): time 0.0007698/0.3011, allocations: 101.6 kB / 0.7311 GB, free: 4.715 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.3012, allocations: 51.41 kB / 0.7312 GB, free: 4.652 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3013, allocations: 109.7 kB / 0.7313 GB, free: 4.535 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3014, allocations: 25.7 kB / 0.7313 GB, free: 4.504 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3014, allocations: 84.14 kB / 0.7314 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.3015, allocations: 4.031 kB / 0.7314 GB, free: 4.414 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.3015, allocations: 8 kB / 0.7314 GB, free: 4.406 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3017, allocations: 310.8 kB / 0.7317 GB, free: 4.094 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.3019, allocations: 23.97 kB / 0.7317 GB, free: 4.07 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.3022, allocations: 19.98 kB / 0.7317 GB, free: 4.051 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3024, allocations: 27.98 kB / 0.7317 GB, free: 4.023 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3024, allocations: 0 / 0.7317 GB, free: 4.023 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005163/0.3029, allocations: 81.66 kB / 0.7318 GB, free: 3.938 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.303, allocations: 7.125 kB / 0.7318 GB, free: 3.934 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.303, allocations: 0 / 0.7318 GB, free: 3.934 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.303, allocations: 0 / 0.7318 GB, free: 3.934 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.3032, allocations: 11.98 kB / 0.7318 GB, free: 3.922 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.3033, allocations: 4 kB / 0.7318 GB, free: 3.918 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.3034, allocations: 11.89 kB / 0.7319 GB, free: 3.906 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3034, allocations: 0 / 0.7319 GB, free: 3.906 MB / 0.5574 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 () * Number of clocked 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 0.0001259/0.3036, allocations: 117.9 kB / 0.732 GB, free: 3.781 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.3037, allocations: 3.906 kB / 0.732 GB, free: 3.777 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000577/0.3042, allocations: 84.73 kB / 0.7321 GB, free: 3.691 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3043, allocations: 0 / 0.7321 GB, free: 3.691 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.3043, allocations: 8.031 kB / 0.7321 GB, free: 3.684 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3043, allocations: 0 / 0.7321 GB, free: 3.684 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.3046, allocations: 157.6 kB / 0.7322 GB, free: 3.48 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3047, allocations: 0 / 0.7322 GB, free: 3.48 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3048, allocations: 15.98 kB / 0.7322 GB, free: 3.465 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.3048, allocations: 0 / 0.7322 GB, free: 3.465 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3049, allocations: 192 / 0.7322 GB, free: 3.465 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3049, allocations: 0 / 0.7322 GB, free: 3.465 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.3049, allocations: 0 / 0.7322 GB, free: 3.465 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.3054, allocations: 183.4 kB / 0.7324 GB, free: 3.27 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.3055, allocations: 81.11 kB / 0.7325 GB, free: 3.172 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3056, allocations: 3.984 kB / 0.7325 GB, free: 3.168 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.3057, allocations: 8.031 kB / 0.7325 GB, free: 3.16 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.3058, allocations: 7.984 kB / 0.7325 GB, free: 3.152 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3058, allocations: 0 / 0.7325 GB, free: 3.152 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.3059, allocations: 79.28 kB / 0.7326 GB, free: 3.074 MB / 0.5574 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3059, allocations: 3.938 kB / 0.7326 GB, free: 3.07 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0005577/0.3065, allocations: 19.94 kB / 0.7326 GB, free: 3.051 MB / 0.5574 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 (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.001193/0.3077, allocations: 0.7396 MB / 0.7333 GB, free: 2.281 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0005294/0.3083, allocations: 43.97 kB / 0.7334 GB, free: 2.238 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.3083, allocations: 0 / 0.7334 GB, free: 2.238 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.3086, allocations: 31.97 kB / 0.7334 GB, free: 2.207 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3089, allocations: 4 kB / 0.7334 GB, free: 2.203 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.3096, allocations: 138.3 kB / 0.7335 GB, free: 2.031 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.31, allocations: 0.677 MB / 0.7342 GB, free: 1.328 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 4.955e-05/0.3101, allocations: 8.062 kB / 0.7342 GB, free: 1.32 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.3102, allocations: 7.438 kB / 0.7342 GB, free: 1.312 MB / 0.5574 GB Notification: Performance of SimCode: time 1.683e-06/0.3102, allocations: 0 / 0.7342 GB, free: 1.312 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.3338, allocations: 1.232 MB / 0.7354 GB, free: 188 kB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/0.3342, allocations: 174.6 kB / 0.7356 GB, free: 15.95 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/2.99, allocations: 0 / 0.7356 GB, free: 15.95 MB / 0.573 GB