Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ0.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.342/2.342, allocations: 248.5 MB / 261.1 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 178 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.2 MB / 0.571 GB, free: 11.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 97.73 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.933e-05/4.953e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 106.2 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8997/1.116, allocations: 131.6 MB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.116, allocations: 69.47 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006976/1.123, allocations: 1.525 MB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of FrontEnd: time 7.133e-06/1.123, allocations: 0 / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.123, allocations: 3.938 kB / 1.021 GB, free: 2.25 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.0004719/1.123, allocations: 357.7 kB / 1.021 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.123, allocations: 8.031 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/1.124, allocations: 34.56 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/1.124, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.124, allocations: 167 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/1.124, allocations: 4 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/1.124, allocations: 3.125 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/1.124, allocations: 37 kB / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.124, allocations: 0 / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/1.124, allocations: 0 / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/1.124, allocations: 0 / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.158e-05/1.124, allocations: 11.25 kB / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/1.125, allocations: 275.9 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/1.125, allocations: 29.06 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/1.125, allocations: 12.11 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008198/1.126, allocations: 449.2 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/1.126, allocations: 30.56 kB / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/1.126, allocations: 0 / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/1.126, allocations: 41.52 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.126, allocations: 55.36 kB / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/1.126, allocations: 100 kB / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/1.126, allocations: 25.7 kB / 1.022 GB, free: 400 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/1.126, allocations: 88.11 kB / 1.022 GB, free: 308 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/1.126, allocations: 7.719 kB / 1.022 GB, free: 304 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/1.126, allocations: 0 / 1.022 GB, free: 304 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.126, allocations: 310.8 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/1.126, allocations: 4 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/1.126, allocations: 7.75 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/1.126, allocations: 11.92 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.126, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.791e-05/1.126, allocations: 44.89 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.127, allocations: 8 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.127, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.127, allocations: 3.938 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/1.127, allocations: 11.98 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.127, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.376e-05/1.127, allocations: 19.88 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/1.127, allocations: 7.969 kB / 1.023 GB, free: 15.88 MB / 0.6511 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 7.001e-05/1.127, allocations: 101 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/1.127, allocations: 4 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/1.127, allocations: 48.7 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.127, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.127, allocations: 192 / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.127, allocations: 3.938 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/1.127, allocations: 161.5 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.127, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/1.128, allocations: 20.02 kB / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/1.128, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-06/1.128, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.128, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.128, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/1.128, allocations: 145.9 kB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/1.128, allocations: 77.11 kB / 1.023 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/1.128, allocations: 4.031 kB / 1.023 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/1.128, allocations: 15.55 kB / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/1.128, allocations: 0 / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/1.128, allocations: 0 / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.858e-05/1.128, allocations: 79.28 kB / 1.023 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/1.128, allocations: 0 / 1.023 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003372/1.128, allocations: 27.92 kB / 1.023 GB, free: 15.12 MB / 0.6511 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.0006494/1.129, allocations: 0.7034 MB / 1.024 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001045/1.129, allocations: 15.84 kB / 1.024 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.129, allocations: 0 / 1.024 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/1.129, allocations: 7.938 kB / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/1.13, allocations: 4.562 kB / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/1.13, allocations: 104.9 kB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/1.13, allocations: 0.6848 MB / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.114e-05/1.13, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/1.13, allocations: 11.56 kB / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/1.13, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/1.154, allocations: 1.226 MB / 1.026 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/1.155, allocations: 141.2 kB / 1.026 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/3.425, allocations: 4 kB / 1.026 GB, free: 12.17 MB / 0.6511 GB