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.298/2.298, allocations: 251 MB / 265.9 MB, free: 11.68 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.00168/0.00168, allocations: 181.6 kB / 325.5 MB, free: 2.895 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.537/2.537, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001151/0.00115, allocations: 102.6 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004722, allocations: 12.84 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2579, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.489, allocations: 131.7 MB / 1.027 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.4894, allocations: 71.97 kB / 1.027 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006999/0.4964, allocations: 1.523 MB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4965, allocations: 0 / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4965, allocations: 0 / 1.029 GB, free: 12.03 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005365/0.4971, allocations: 371.2 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.838e-05/0.4972, allocations: 8.031 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.4972, allocations: 30.56 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.4973, allocations: 0 / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.4974, allocations: 175 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4975, allocations: 0 / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.4975, allocations: 0 / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.4977, allocations: 61.66 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4978, allocations: 3.938 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.4978, allocations: 0 / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.4978, allocations: 4 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.4981, allocations: 47.95 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.4987, allocations: 264.8 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.4989, allocations: 46.55 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008157/0.4997, allocations: 441.5 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4998, allocations: 34.5 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.725e-06/0.4998, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005904/0.5004, allocations: 97.64 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.5005, allocations: 55.41 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.5006, allocations: 97.08 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.5006, allocations: 25.7 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.5006, allocations: 84.14 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.5007, allocations: 7.891 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.5007, allocations: 0 / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5008, allocations: 319.7 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.501, allocations: 19.98 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.5012, allocations: 27.92 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.5013, allocations: 19.98 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5014, allocations: 3.938 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003544/0.5017, allocations: 81.72 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.5018, allocations: 8 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5018, allocations: 0 / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5018, allocations: 3.938 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.5019, allocations: 11.98 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.502, allocations: 4.031 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.5021, allocations: 11.98 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.5021, allocations: 3.953 kB / 1.031 GB, free: 9.395 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 (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 8.735e-05/0.5022, allocations: 107.6 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.5022, allocations: 8 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.5026, allocations: 88.62 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5027, allocations: 0 / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5027, allocations: 0 / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5027, allocations: 0 / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.5029, allocations: 161.6 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5029, allocations: 0 / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.503, allocations: 11.98 kB / 1.032 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.503, allocations: 4.031 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5031, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5031, allocations: 4 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5031, allocations: 0 / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.5035, allocations: 179.4 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.5036, allocations: 77.11 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.5036, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.5037, allocations: 11.98 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.5038, allocations: 0 / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.5038, allocations: 0 / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.5038, allocations: 87.45 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5039, allocations: 4.031 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003496/0.5042, allocations: 27.92 kB / 1.032 GB, free: 8.539 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 (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.0009135/0.5051, allocations: 0.728 MB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.5055, allocations: 51.94 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5055, allocations: 0 / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.5057, allocations: 23.98 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.506, allocations: 7.984 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.5065, allocations: 162.3 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.5068, allocations: 0.677 MB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.5068, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.5069, allocations: 11.44 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of SimCode: time 9.41e-07/0.5069, allocations: 0 / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.5285, allocations: 1.215 MB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/0.5289, allocations: 174.2 kB / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/2.933, allocations: 5.312 kB / 1.035 GB, free: 5.441 MB / 0.6823 GB