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.766/2.766, allocations: 248.7 MB / 256.2 MB, free: 7.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 174.5 kB / 315.4 MB, free: 4.043 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.097/2.097, allocations: 205.3 MB / 0.5662 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 89.27 kB / 0.6704 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.643e-05/4.655e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2136, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8849/1.099, allocations: 132.6 MB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.099, allocations: 78.64 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01538/1.114, allocations: 3.174 MB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.114, allocations: 0 / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.114, allocations: 0 / 1.017 GB, free: 3.406 MB / 0.6355 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.0004977/1.115, allocations: 436.5 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.115, allocations: 8.031 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/1.115, allocations: 7.906 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.115, allocations: 182.2 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/1.115, allocations: 7.938 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/1.115, allocations: 0 / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000172/1.115, allocations: 59.27 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/1.116, allocations: 92.77 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.116, allocations: 0 / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/1.116, allocations: 0 / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.116, allocations: 4 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/1.116, allocations: 157.2 kB / 1.018 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/1.116, allocations: 81.39 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/1.116, allocations: 68.27 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/1.116, allocations: 0 / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/1.116, allocations: 35.38 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/1.116, allocations: 0 / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0004694/1.117, allocations: 163.1 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/1.117, allocations: 81.11 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/1.117, allocations: 123.9 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/1.117, allocations: 29.7 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/1.117, allocations: 96.11 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/1.117, allocations: 7.891 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/1.117, allocations: 0 / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.117, allocations: 318.2 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.118, allocations: 94.06 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/1.118, allocations: 102 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/1.118, allocations: 98.52 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.118, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006019/1.119, allocations: 261.8 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/1.119, allocations: 74.81 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.119, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.119, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/1.119, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/1.119, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/1.119, allocations: 15.91 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/1.119, allocations: 11.94 kB / 1.019 GB, free: 0.7461 MB / 0.6355 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 () * 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.000161/1.119, allocations: 138.7 kB / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003987/1.12, allocations: 170.4 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/1.12, allocations: 7.906 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/1.12, allocations: 11.47 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.12, allocations: 3.984 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/1.12, allocations: 0 / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.12, allocations: 0 / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/1.12, allocations: 156.6 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.12, allocations: 4.031 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/1.12, allocations: 0 / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.12, allocations: 0 / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/1.12, allocations: 3.984 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.12, allocations: 0 / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.12, allocations: 4 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/1.12, allocations: 186.3 kB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/1.121, allocations: 92.95 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/1.121, allocations: 7.969 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/1.121, allocations: 7.984 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/1.121, allocations: 7.312 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/1.121, allocations: 4 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.543e-05/1.121, allocations: 108.5 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.121, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004917/1.121, allocations: 67.94 kB / 1.02 GB, free: 15.73 MB / 0.6511 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) * 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.001108/1.123, allocations: 0.7922 MB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005752/1.123, allocations: 355.5 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/1.123, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/1.123, allocations: 132.2 kB / 1.021 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/1.124, allocations: 6.75 kB / 1.021 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/1.124, allocations: 230.9 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.125, allocations: 0.6963 MB / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.633e-06/1.125, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/1.125, allocations: 17 kB / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.125, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04318/1.168, allocations: 2.45 MB / 1.025 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/1.168, allocations: 148.6 kB / 1.025 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/3.507, allocations: 3.938 kB / 1.025 GB, free: 10.88 MB / 0.6511 GB