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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.308/4.308, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.659e-05/4.722e-05, allocations: 5.672 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2326, allocations: 98.74 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2723/0.5049, allocations: 124.6 MB / 0.7564 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005707/0.5056, allocations: 71.95 kB / 0.7564 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007527/0.5131, allocations: 1.515 MB / 0.7579 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5132, allocations: 0 / 0.7579 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.5132, allocations: 0 / 0.7579 GB, free: 3.594 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.0005078/0.5137, allocations: 352.5 kB / 0.7582 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.5138, allocations: 12.03 kB / 0.7582 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.5139, allocations: 30.56 kB / 0.7583 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.5139, allocations: 4 kB / 0.7583 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.5141, allocations: 171 kB / 0.7584 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.5141, allocations: 3.984 kB / 0.7584 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.5141, allocations: 11.92 kB / 0.7585 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.5143, allocations: 33.7 kB / 0.7585 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.5143, allocations: 0 / 0.7585 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5143, allocations: 0 / 0.7585 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5143, allocations: 0 / 0.7585 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.5144, allocations: 19.94 kB / 0.7585 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.515, allocations: 272.8 kB / 0.7588 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.5151, allocations: 22.52 kB / 0.7588 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.5151, allocations: 12.92 kB / 0.7588 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008387/0.516, allocations: 445.5 kB / 0.7592 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.5161, allocations: 34.56 kB / 0.7593 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.258e-06/0.5161, allocations: 0 / 0.7593 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002077/0.5163, allocations: 41.69 kB / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.5164, allocations: 63.33 kB / 0.7594 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.5165, allocations: 89 kB / 0.7594 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.5165, allocations: 25.7 kB / 0.7595 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.5166, allocations: 92.08 kB / 0.7596 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.5166, allocations: 3.906 kB / 0.7596 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.5166, allocations: 0 / 0.7596 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5168, allocations: 314.8 kB / 0.7599 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.5168, allocations: 8 kB / 0.7599 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.5169, allocations: 8 kB / 0.7599 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.5169, allocations: 8 kB / 0.7599 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5169, allocations: 0 / 0.7599 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.517, allocations: 37.7 kB / 0.7599 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.5171, allocations: 8 kB / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5171, allocations: 0 / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5171, allocations: 0 / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.5173, allocations: 11.98 kB / 0.7599 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5173, allocations: 8.094 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.5174, allocations: 15.94 kB / 0.76 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.5174, allocations: 0 / 0.76 GB, free: 1.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 8.639e-05/0.5175, allocations: 106.8 kB / 0.7601 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.5176, allocations: 0 / 0.7601 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.5177, allocations: 48.81 kB / 0.7601 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5177, allocations: 0 / 0.7601 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5177, allocations: 4.031 kB / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5178, allocations: 0 / 0.7601 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.518, allocations: 165.5 kB / 0.7603 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.518, allocations: 0 / 0.7603 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5181, allocations: 8 kB / 0.7603 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5181, allocations: 0 / 0.7603 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.5182, allocations: 8 kB / 0.7603 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5182, allocations: 3.984 kB / 0.7603 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5182, allocations: 0 / 0.7603 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.5184, allocations: 143.5 kB / 0.7604 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.5184, allocations: 77.11 kB / 0.7605 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.5185, allocations: 7.922 kB / 0.7605 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.5186, allocations: 8 kB / 0.7605 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.5187, allocations: 4.125 kB / 0.7605 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.5187, allocations: 3.984 kB / 0.7605 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.616e-05/0.5188, allocations: 91.3 kB / 0.7606 GB, free: 420 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5188, allocations: 0 / 0.7606 GB, free: 420 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003569/0.5191, allocations: 23.94 kB / 0.7606 GB, free: 396 kB / 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.0007079/0.5198, allocations: 0.7085 MB / 0.7613 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.52, allocations: 16 kB / 0.7613 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.52, allocations: 0 / 0.7613 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.53e-05/0.52, allocations: 4 kB / 0.7613 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.5203, allocations: 8 kB / 0.7614 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.5207, allocations: 102.6 kB / 0.7615 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.5211, allocations: 0.6809 MB / 0.7621 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.5211, allocations: 3.984 kB / 0.7621 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.5212, allocations: 7.438 kB / 0.7621 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.483e-06/0.5212, allocations: 0 / 0.7621 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.5442, allocations: 1.216 MB / 0.7633 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000327/0.5446, allocations: 152.8 kB / 0.7635 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/2.954, allocations: 0 / 0.7635 GB, free: 13.4 MB / 0.6511 GB