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/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.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.227/4.227, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.923e-05/3.947e-05, allocations: 6.125 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2349, allocations: 98.74 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2829/0.5179, allocations: 123.9 MB / 0.7557 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/0.5183, allocations: 79.94 kB / 0.7558 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006535/0.5249, allocations: 1.23 MB / 0.757 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.525, allocations: 0 / 0.757 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.525, allocations: 4 kB / 0.757 GB, free: 4.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003707/0.5254, allocations: 322.5 kB / 0.7573 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.5255, allocations: 12.03 kB / 0.7573 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.5255, allocations: 34.56 kB / 0.7574 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.5256, allocations: 0 / 0.7574 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.5257, allocations: 171 kB / 0.7575 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.5257, allocations: 0 / 0.7575 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.5258, allocations: 0 / 0.7575 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.5259, allocations: 33.64 kB / 0.7576 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5259, allocations: 0 / 0.7576 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.5259, allocations: 0 / 0.7576 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.526, allocations: 0 / 0.7576 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.526, allocations: 0 / 0.7576 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.5262, allocations: 149.6 kB / 0.7577 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.078e-05/0.5263, allocations: 22.58 kB / 0.7577 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.5263, allocations: 4.859 kB / 0.7577 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.5274, allocations: 445.5 kB / 0.7582 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.5275, allocations: 42.55 kB / 0.7582 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/0.5275, allocations: 0 / 0.7582 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.5277, allocations: 29.7 kB / 0.7582 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5277, allocations: 51.41 kB / 0.7583 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.5278, allocations: 88.94 kB / 0.7584 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5278, allocations: 25.7 kB / 0.7584 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.5279, allocations: 80.14 kB / 0.7585 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.5279, allocations: 0 / 0.7585 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.528, allocations: 0 / 0.7585 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.5282, allocations: 322.8 kB / 0.7588 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.5282, allocations: 4 kB / 0.7588 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-06/0.5282, allocations: 3.938 kB / 0.7588 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.5283, allocations: 3.938 kB / 0.7588 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5283, allocations: 0 / 0.7588 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.733e-05/0.5284, allocations: 37.69 kB / 0.7588 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5285, allocations: 4 kB / 0.7588 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5285, allocations: 0 / 0.7588 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5285, allocations: 4.094 kB / 0.7588 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.5286, allocations: 4 kB / 0.7588 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5286, allocations: 0 / 0.7588 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.5286, allocations: 0 / 0.7588 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.5286, allocations: 0 / 0.7588 GB, free: 2.332 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 (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 9.853e-05/0.5288, allocations: 108.9 kB / 0.7589 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.5288, allocations: 4 kB / 0.7589 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.5289, allocations: 44.75 kB / 0.759 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5289, allocations: 3.984 kB / 0.759 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.529, allocations: 4.031 kB / 0.759 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.529, allocations: 0 / 0.759 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.5291, allocations: 149.6 kB / 0.7591 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5292, allocations: 0 / 0.7591 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.5292, allocations: 4 kB / 0.7591 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5292, allocations: 0 / 0.7591 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.5292, allocations: 0 / 0.7591 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5293, allocations: 4 kB / 0.7591 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5293, allocations: 0 / 0.7591 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.5294, allocations: 61.14 kB / 0.7592 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.5295, allocations: 88.95 kB / 0.7593 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.5295, allocations: 3.938 kB / 0.7593 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.625e-05/0.5295, allocations: 0 / 0.7593 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.5296, allocations: 0 / 0.7593 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.5296, allocations: 3.938 kB / 0.7593 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.5296, allocations: 75.28 kB / 0.7594 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5297, allocations: 4 kB / 0.7594 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005074/0.5302, allocations: 16.03 kB / 0.7594 GB, free: 1.672 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 (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.0007989/0.531, allocations: 0.6357 MB / 0.76 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.5311, allocations: 7.938 kB / 0.76 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5311, allocations: 0 / 0.76 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.569e-05/0.5311, allocations: 4 kB / 0.76 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.5313, allocations: 0 / 0.76 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.5318, allocations: 94.58 kB / 0.7601 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.5322, allocations: 0.677 MB / 0.7608 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.5322, allocations: 4.125 kB / 0.7608 GB, free: 168 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.5322, allocations: 7.438 kB / 0.7608 GB, free: 160 kB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/0.5323, allocations: 0 / 0.7608 GB, free: 160 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.5599, allocations: 0.9414 MB / 0.7617 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003362/0.5603, allocations: 152.4 kB / 0.7618 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/2.978, allocations: 8 kB / 0.7618 GB, free: 15.05 MB / 0.6511 GB