Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.988/3.988, allocations: 433.2 MB / 440.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.584e-05, allocations: 5.625 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2473, allocations: 98.73 MB / 0.6289 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.4795, allocations: 125.3 MB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.4799, allocations: 87.94 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01531/0.4952, allocations: 3.177 MB / 0.7545 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4953, allocations: 0 / 0.7545 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4953, allocations: 0 / 0.7545 GB, free: 8.254 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.0005271/0.4958, allocations: 430.3 kB / 0.7549 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4959, allocations: 12.02 kB / 0.7549 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.4959, allocations: 15.84 kB / 0.7549 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.4961, allocations: 167.1 kB / 0.7551 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4961, allocations: 0 / 0.7551 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.4961, allocations: 0 / 0.7551 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001345/0.4963, allocations: 35.98 kB / 0.7551 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.4964, allocations: 77.61 kB / 0.7552 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4965, allocations: 0 / 0.7552 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4965, allocations: 0 / 0.7552 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.4965, allocations: 4 kB / 0.7552 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.497, allocations: 253.5 kB / 0.7554 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.4971, allocations: 50.56 kB / 0.7555 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.825e-05/0.4972, allocations: 44.92 kB / 0.7555 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.4972, allocations: 0 / 0.7555 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.4973, allocations: 34.56 kB / 0.7556 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.4973, allocations: 3.938 kB / 0.7556 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000339/0.4976, allocations: 105.5 kB / 0.7557 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.4977, allocations: 85.11 kB / 0.7558 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4978, allocations: 112.9 kB / 0.7559 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.4979, allocations: 29.7 kB / 0.7559 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.4979, allocations: 84.12 kB / 0.756 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.498, allocations: 19.75 kB / 0.756 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.498, allocations: 7.969 kB / 0.756 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4981, allocations: 314.8 kB / 0.7563 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.4982, allocations: 51.97 kB / 0.7563 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.4983, allocations: 51.97 kB / 0.7564 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.4985, allocations: 53.81 kB / 0.7564 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4985, allocations: 0 / 0.7564 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003543/0.4989, allocations: 141.6 kB / 0.7566 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.499, allocations: 63.39 kB / 0.7566 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.499, allocations: 8.062 kB / 0.7566 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.499, allocations: 0 / 0.7566 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.4991, allocations: 8 kB / 0.7567 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4991, allocations: 0 / 0.7567 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.4992, allocations: 7.984 kB / 0.7567 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.4993, allocations: 8 kB / 0.7567 GB, free: 5.793 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 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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 9.982e-05/0.4994, allocations: 134.6 kB / 0.7568 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002654/0.4996, allocations: 113.6 kB / 0.7569 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.4997, allocations: 3.906 kB / 0.7569 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.4997, allocations: 16.36 kB / 0.7569 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4997, allocations: 0 / 0.7569 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4998, allocations: 0 / 0.7569 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4998, allocations: 3.953 kB / 0.7569 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.5, allocations: 146.2 kB / 0.7571 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5, allocations: 0 / 0.7571 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.5, allocations: 7.984 kB / 0.7571 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5, allocations: 0 / 0.7571 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5001, allocations: 7.938 kB / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5001, allocations: 0 / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5001, allocations: 0 / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.5004, allocations: 211.5 kB / 0.7573 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.5004, allocations: 85.02 kB / 0.7574 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.5005, allocations: 0 / 0.7574 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5006, allocations: 7.984 kB / 0.7574 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.5007, allocations: 4 kB / 0.7574 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.5007, allocations: 11.92 kB / 0.7574 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.804e-05/0.5008, allocations: 95.31 kB / 0.7575 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5008, allocations: 3.938 kB / 0.7575 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004908/0.5013, allocations: 71.92 kB / 0.7576 GB, free: 4.797 MB / 0.6355 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.0008218/0.5022, allocations: 0.7943 MB / 0.7583 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.5026, allocations: 222.8 kB / 0.7585 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5026, allocations: 4 kB / 0.7585 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.5027, allocations: 99.38 kB / 0.7586 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.5029, allocations: 3.047 kB / 0.7586 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.5035, allocations: 189.4 kB / 0.7588 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.5038, allocations: 0.6846 MB / 0.7595 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.5038, allocations: 3.906 kB / 0.7595 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.5039, allocations: 23.42 kB / 0.7595 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.5039, allocations: 4.062 kB / 0.7595 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/0.5473, allocations: 2.107 MB / 0.7616 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/0.5476, allocations: 182.1 kB / 0.7618 GB, free: 368 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/2.918, allocations: 0 / 0.7618 GB, free: 368 kB / 0.6355 GB