Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite",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.211/2.211, 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.001483/0.001483, allocations: 178.2 kB / 325.5 MB, free: 2.906 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.408/2.408, allocations: 205.4 MB / 0.5764 GB, free: 20.86 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.001174/0.001173, allocations: 93.33 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006926/0.0006925, allocations: 15.38 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2333, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.4689, allocations: 132.4 MB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4693, allocations: 75.95 kB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.4849, allocations: 3.193 MB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.044e-06/0.485, allocations: 0 / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.485, allocations: 0 / 1.031 GB, free: 9.652 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005342/0.4855, allocations: 446.4 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4856, allocations: 11.97 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.4856, allocations: 34.56 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.4857, allocations: 11.91 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.4859, allocations: 186.8 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4859, allocations: 0 / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.4859, allocations: 4 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.4862, allocations: 97.64 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4863, allocations: 4 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4863, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4863, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.4865, allocations: 59.95 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.4868, allocations: 181.6 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.487, allocations: 78.47 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.487, allocations: 4.031 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.487, allocations: 34.56 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.487, allocations: 0 / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0006541/0.4877, allocations: 332.3 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.4878, allocations: 77.11 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.4879, allocations: 130.8 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.488, allocations: 29.7 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.4881, allocations: 96.03 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.4881, allocations: 11.84 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.4881, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4883, allocations: 326.7 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4885, allocations: 99.92 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.4887, allocations: 99.86 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.489, allocations: 171.2 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.489, allocations: 0 / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005799/0.4896, allocations: 308.8 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/0.4897, allocations: 67.39 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4897, allocations: 4 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4897, allocations: 0 / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.4897, allocations: 0 / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.4897, allocations: 0 / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.4899, allocations: 15.91 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.4899, allocations: 7.984 kB / 1.034 GB, free: 6.48 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001763/0.4901, allocations: 159.5 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.4901, allocations: 7.906 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.4902, allocations: 4.25 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4902, allocations: 3.938 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4902, allocations: 4 kB / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4902, allocations: 0 / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.4904, allocations: 177.6 kB / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4904, allocations: 4 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.4904, allocations: 0 / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4904, allocations: 4 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4905, allocations: 0 / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4905, allocations: 0 / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4905, allocations: 4 kB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.4909, allocations: 228.4 kB / 1.035 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.491, allocations: 85.11 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.491, allocations: 4 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.4911, allocations: 11.97 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.4912, allocations: 8.031 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.4912, allocations: 4 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001022/0.4914, allocations: 109.3 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.314e-06/0.4914, allocations: 0 / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004616/0.4918, allocations: 79.86 kB / 1.035 GB, free: 5.496 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: 1 (i) * Number of discrete states: 1 (i) * 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.001003/0.4928, allocations: 0.8208 MB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006623/0.4935, allocations: 370.6 kB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4935, allocations: 0 / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.4938, allocations: 135.3 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.4939, allocations: 5.547 kB / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.4948, allocations: 453.7 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4952, allocations: 0.7004 MB / 1.037 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.394e-06/0.4952, allocations: 0 / 1.037 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.4952, allocations: 15.44 kB / 1.037 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of SimCode: time 3.136e-06/0.4952, allocations: 0 / 1.037 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.5218, allocations: 2.817 MB / 1.04 GB, free: 188 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/0.5222, allocations: 193.8 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.038, allocations: 0 / 1.04 GB, free: 15.94 MB / 0.698 GB