Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_BesselJ1",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.223/2.223, allocations: 248.5 MB / 261 MB, free: 6.012 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.001969/0.001968, allocations: 174.7 kB / 320.4 MB, free: 15.36 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.032/2.032, allocations: 205.1 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.001085/0.001085, allocations: 98.42 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.459e-05/4.467e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8853/1.107, allocations: 131.6 MB / 1.019 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.107, allocations: 69.7 kB / 1.019 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007332/1.115, allocations: 1.566 MB / 1.021 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.115, allocations: 0 / 1.021 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.957e-06/1.115, allocations: 4 kB / 1.021 GB, free: 1.871 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.0005006/1.115, allocations: 357.5 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/1.115, allocations: 8.031 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/1.115, allocations: 30.56 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/1.115, allocations: 0 / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/1.115, allocations: 175 kB / 1.021 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/1.115, allocations: 0 / 1.021 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/1.115, allocations: 4 kB / 1.021 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/1.116, allocations: 36.58 kB / 1.021 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/1.116, allocations: 0 / 1.021 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.116, allocations: 0 / 1.021 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.116, allocations: 0 / 1.021 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/1.116, allocations: 21.8 kB / 1.021 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/1.116, allocations: 266.6 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.953e-05/1.116, allocations: 28.7 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/1.116, allocations: 8.922 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008744/1.117, allocations: 456.4 kB / 1.022 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/1.117, allocations: 30.56 kB / 1.022 GB, free: 252 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.555e-06/1.117, allocations: 0 / 1.022 GB, free: 252 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000192/1.118, allocations: 48.62 kB / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/1.118, allocations: 59.36 kB / 1.022 GB, free: 132 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/1.118, allocations: 92.98 kB / 1.022 GB, free: 32 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/1.118, allocations: 25.7 kB / 1.022 GB, free: 0 / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/1.118, allocations: 83.39 kB / 1.022 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/1.118, allocations: 7.938 kB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/1.118, allocations: 3.938 kB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.118, allocations: 314.8 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/1.118, allocations: 3.375 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/1.118, allocations: 4 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/1.118, allocations: 11.25 kB / 1.023 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.118, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001062/1.118, allocations: 49.38 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.118, allocations: 8.094 kB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.118, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.118, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/1.118, allocations: 11.98 kB / 1.023 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.119, allocations: 3.984 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/1.119, allocations: 11.95 kB / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/1.119, allocations: 0.75 kB / 1.023 GB, free: 15.49 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.135e-05/1.119, allocations: 109 kB / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/1.119, allocations: 4 kB / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/1.119, allocations: 55.27 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.119, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.119, allocations: 0.625 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.119, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/1.119, allocations: 161.5 kB / 1.023 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.119, allocations: 0 / 1.023 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.119, allocations: 20.02 kB / 1.023 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.119, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/1.119, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.119, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.119, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/1.12, allocations: 146.3 kB / 1.023 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/1.12, allocations: 77.11 kB / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/1.12, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.12, allocations: 16.02 kB / 1.023 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/1.12, allocations: 0 / 1.023 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.12, allocations: 11.62 kB / 1.023 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.643e-05/1.12, allocations: 75.28 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.12, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003446/1.12, allocations: 27.92 kB / 1.024 GB, free: 14.73 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.0006709/1.121, allocations: 0.7027 MB / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001202/1.121, allocations: 19.88 kB / 1.024 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/1.121, allocations: 8.031 kB / 1.024 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.919e-05/1.121, allocations: 7.984 kB / 1.024 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/1.121, allocations: 3.938 kB / 1.024 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/1.122, allocations: 101.6 kB / 1.024 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.122, allocations: 0.6809 MB / 1.025 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.615e-05/1.122, allocations: 0 / 1.025 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/1.122, allocations: 7.438 kB / 1.025 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/1.122, allocations: 4.062 kB / 1.025 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/1.144, allocations: 1.225 MB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/1.145, allocations: 149.2 kB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/3.479, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.6511 GB