Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.163/2.163, allocations: 251 MB / 265.9 MB, free: 11.67 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.001484/0.001484, allocations: 170.6 kB / 325.5 MB, free: 2.879 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.415/2.415, 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.00118/0.00118, allocations: 98.83 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004927, allocations: 12.66 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2323/0.4502, allocations: 132.5 MB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.4506, allocations: 79.95 kB / 1.028 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.468, allocations: 3.516 MB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.843e-06/0.468, allocations: 0 / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.468, allocations: 4 kB / 1.032 GB, free: 9.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005433/0.4686, allocations: 404.7 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4686, allocations: 12.03 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.4687, allocations: 38.5 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.4687, allocations: 11.89 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.4689, allocations: 178.9 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.4689, allocations: 4 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.469, allocations: 0 / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4692, allocations: 65.64 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.4692, allocations: 4 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4692, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4692, allocations: 0 / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.4693, allocations: 27.97 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.4695, allocations: 165.5 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.4697, allocations: 58.55 kB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.4697, allocations: 0 / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.4697, allocations: 34.59 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4697, allocations: 0 / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004795/0.4702, allocations: 232.4 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.4703, allocations: 85.09 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.4704, allocations: 101 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.4704, allocations: 33.7 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.4705, allocations: 84.17 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.4706, allocations: 23.62 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.4706, allocations: 0 / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4707, allocations: 322.8 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.4708, allocations: 23.97 kB / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.18e-05/0.4709, allocations: 23.98 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.471, allocations: 57.83 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.471, allocations: 0 / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002765/0.4713, allocations: 128 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.4714, allocations: 43.62 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4714, allocations: 0 / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4714, allocations: 4 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.4714, allocations: 3.938 kB / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4715, allocations: 0 / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.4715, allocations: 3.938 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.4716, allocations: 11.98 kB / 1.034 GB, free: 6.707 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001386/0.4717, allocations: 157.2 kB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.4718, allocations: 7.906 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.4718, allocations: 12.31 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4718, allocations: 0 / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.559e-05/0.4718, allocations: 0 / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4718, allocations: 4 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.472, allocations: 173.6 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.472, allocations: 0 / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-07/0.472, allocations: 0 / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.472, allocations: 3.938 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.4721, allocations: 4 kB / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4721, allocations: 3.984 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4721, allocations: 4 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.4725, allocations: 178.7 kB / 1.034 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.4725, allocations: 89 kB / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.4726, allocations: 0 / 1.034 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.4726, allocations: 7.984 kB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.4726, allocations: 0 / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.4727, allocations: 8 kB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.988e-05/0.4728, allocations: 91.27 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4728, allocations: 4.031 kB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005136/0.4733, allocations: 87.86 kB / 1.035 GB, free: 5.781 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009517/0.4743, allocations: 0.7896 MB / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.4746, allocations: 179.3 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.4746, allocations: 96 / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.4748, allocations: 139.3 kB / 1.036 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.4749, allocations: 11.92 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.4756, allocations: 236.2 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4759, allocations: 0.6848 MB / 1.037 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.027e-06/0.4759, allocations: 4 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.4759, allocations: 11.5 kB / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/0.4759, allocations: 4 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.5017, allocations: 2.669 MB / 1.039 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003715/0.5021, allocations: 203.7 kB / 1.039 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.087, allocations: 3.938 kB / 1.039 GB, free: 0.8477 MB / 0.6823 GB