Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_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.321/2.321, allocations: 251 MB / 265.9 MB, free: 11.69 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.002335/0.002335, allocations: 179.9 kB / 325.5 MB, free: 2.914 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.436/2.436, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.00111/0.00111, allocations: 97.64 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005152, allocations: 20.16 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2387, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.4683, allocations: 131 MB / 1.027 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.4687, allocations: 75.95 kB / 1.027 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005544/0.4743, allocations: 1.276 MB / 1.028 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4743, allocations: 4 kB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4744, allocations: 0 / 1.028 GB, free: 13.43 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.0003329/0.4747, allocations: 335.3 kB / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.4748, allocations: 8.031 kB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.4748, allocations: 34.5 kB / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.4748, allocations: 0 / 1.028 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.475, allocations: 171 kB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.475, allocations: 4 kB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.475, allocations: 3.984 kB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.834e-05/0.4751, allocations: 29.7 kB / 1.029 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.4752, allocations: 0 / 1.029 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.4752, allocations: 3.938 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4752, allocations: 4 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.4752, allocations: 0 / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.4754, allocations: 149.6 kB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.4755, allocations: 26.55 kB / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008926/0.4764, allocations: 445.5 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.4764, allocations: 34.56 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.4764, allocations: 0 / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.4766, allocations: 33.7 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4766, allocations: 59.45 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.107e-05/0.4767, allocations: 89 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.4767, allocations: 25.7 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.4768, allocations: 80.14 kB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.4768, allocations: 3.984 kB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.4768, allocations: 4 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4769, allocations: 311.9 kB / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.477, allocations: 0 / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.477, allocations: 0 / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.477, allocations: 15.95 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.477, allocations: 0 / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.319e-05/0.4771, allocations: 33.7 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4771, allocations: 7.984 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4771, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4772, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.4772, allocations: 4 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4772, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.4773, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.4773, allocations: 3.938 kB / 1.03 GB, free: 11.24 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.469e-05/0.4774, allocations: 117.8 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.4774, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.4775, allocations: 40.81 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4775, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.4775, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.4775, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.4777, allocations: 141.7 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4777, allocations: 3.953 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.4777, allocations: 4 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4777, allocations: 4.031 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.4777, allocations: 3.984 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.4778, allocations: 7.984 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4778, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.604e-05/0.4779, allocations: 61.08 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.4779, allocations: 85 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.4779, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-06/0.478, allocations: 4.031 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.478, allocations: 3.984 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.478, allocations: 4 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.478, allocations: 75.28 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.478, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002838/0.4783, allocations: 19.94 kB / 1.03 GB, free: 10.57 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.0005936/0.4789, allocations: 0.6357 MB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.657e-05/0.479, allocations: 8 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.479, allocations: 0 / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.287e-06/0.4791, allocations: 4.094 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.4792, allocations: 4 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.4795, allocations: 112.3 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.4798, allocations: 0.6731 MB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.505e-05/0.4798, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.4799, allocations: 11.42 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of SimCode: time 6.52e-07/0.4799, allocations: 0 / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.4996, allocations: 0.9362 MB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/0.4999, allocations: 183.5 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.787, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB