Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_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.37/2.37, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.00147, allocations: 179.5 kB / 325.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001206/0.001206, allocations: 106.1 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001699, allocations: 20 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.238, allocations: 106.3 MB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2323/0.4703, allocations: 131 MB / 1.027 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.4707, allocations: 71.95 kB / 1.027 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005197/0.4759, allocations: 1.249 MB / 1.028 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.476, allocations: 0 / 1.028 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.476, allocations: 0 / 1.028 GB, free: 13.52 MB / 0.6823 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.00033/0.4763, allocations: 335.3 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4764, allocations: 8.031 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.4764, allocations: 38.55 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.4765, allocations: 4 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.4766, allocations: 167 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4766, allocations: 0 / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.4766, allocations: 4 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.4767, allocations: 25.7 kB / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.4767, allocations: 0 / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4768, allocations: 4 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4768, allocations: 0 / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/0.4768, allocations: 0 / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.477, allocations: 153.6 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.718e-05/0.477, allocations: 22.55 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008055/0.4779, allocations: 445.5 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4779, allocations: 34.56 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.4779, allocations: 0 / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.4781, allocations: 29.7 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.4781, allocations: 55.53 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.643e-05/0.4782, allocations: 85 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4782, allocations: 33.64 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.4783, allocations: 84.08 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.4783, allocations: 3.984 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.4783, allocations: 0 / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4784, allocations: 311.9 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.4785, allocations: 4 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.4785, allocations: 8 kB / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.245e-05/0.4785, allocations: 3.953 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4785, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.79e-05/0.4786, allocations: 29.7 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4786, allocations: 4 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4786, allocations: 4 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4787, allocations: 0 / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.4787, allocations: 3.984 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.4787, allocations: 3.938 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.4788, allocations: 96 / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.4788, allocations: 4 kB / 1.03 GB, free: 11.34 MB / 0.6823 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 (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 8.756e-05/0.4789, allocations: 117.7 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.4789, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.392e-05/0.479, allocations: 36.83 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.479, allocations: 3.984 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.479, allocations: 0 / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.479, allocations: 0 / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.4792, allocations: 145.7 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4792, allocations: 11.98 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/0.4792, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4792, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.4792, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4792, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4793, allocations: 4 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.012e-05/0.4794, allocations: 65.05 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.4794, allocations: 81.06 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.4794, allocations: 4.031 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-06/0.4795, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.4795, allocations: 4 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.4795, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.4796, allocations: 79.27 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4796, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002935/0.4799, allocations: 19.94 kB / 1.03 GB, free: 10.68 MB / 0.6823 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 (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.0005651/0.4805, allocations: 0.6241 MB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.018e-05/0.4805, allocations: 15.92 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4806, allocations: 4.094 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-06/0.4806, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.4807, allocations: 5.875 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.4811, allocations: 116.3 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4813, allocations: 0.6731 MB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.4814, allocations: 0 / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.4814, allocations: 7.438 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/0.4814, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.4993, allocations: 0.9276 MB / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/0.4997, allocations: 181.6 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.735, allocations: 0 / 1.033 GB, free: 8.094 MB / 0.6823 GB