Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.221/4.221, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.57e-05, allocations: 4.688 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2319, allocations: 98.74 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.4686, allocations: 124.4 MB / 0.7562 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.4689, allocations: 71.95 kB / 0.7563 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004734/0.4736, allocations: 1.059 MB / 0.7573 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4737, allocations: 0 / 0.7573 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.4737, allocations: 0 / 0.7573 GB, free: 4.152 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006159/0.4743, allocations: 374.4 kB / 0.7577 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4744, allocations: 12.03 kB / 0.7577 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.4745, allocations: 30.56 kB / 0.7577 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.4745, allocations: 11.84 kB / 0.7577 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.4747, allocations: 174.9 kB / 0.7579 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4747, allocations: 8 kB / 0.7579 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.4747, allocations: 7.938 kB / 0.7579 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.4749, allocations: 53.67 kB / 0.758 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4749, allocations: 0 / 0.758 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.475, allocations: 0 / 0.758 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.475, allocations: 0 / 0.758 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.4751, allocations: 31.98 kB / 0.758 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.4759, allocations: 320.8 kB / 0.7583 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.4761, allocations: 50.56 kB / 0.7584 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.4762, allocations: 20.94 kB / 0.7584 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.4765, allocations: 109.1 kB / 0.7585 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4765, allocations: 34.56 kB / 0.7585 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.544e-06/0.4765, allocations: 4 kB / 0.7585 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002639/0.4768, allocations: 69.56 kB / 0.7586 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4769, allocations: 55.36 kB / 0.7586 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.477, allocations: 121 kB / 0.7587 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.477, allocations: 25.7 kB / 0.7588 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.4771, allocations: 100.1 kB / 0.7589 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.4772, allocations: 3.906 kB / 0.7589 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.4772, allocations: 0 / 0.7589 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4773, allocations: 318.8 kB / 0.7592 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.4774, allocations: 19.98 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.537e-05/0.4775, allocations: 12 kB / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.892e-05/0.4775, allocations: 15.98 kB / 0.7592 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4776, allocations: 0 / 0.7592 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001902/0.4778, allocations: 77.52 kB / 0.7593 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4778, allocations: 4 kB / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4778, allocations: 4 kB / 0.7593 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4778, allocations: 0 / 0.7593 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.4781, allocations: 19.98 kB / 0.7593 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4781, allocations: 0 / 0.7593 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.4783, allocations: 27.86 kB / 0.7593 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.4783, allocations: 8 kB / 0.7594 GB, free: 1.832 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.321e-05/0.4784, allocations: 101 kB / 0.7595 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.4784, allocations: 11.91 kB / 0.7595 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.4787, allocations: 77.69 kB / 0.7595 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4787, allocations: 0 / 0.7595 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4787, allocations: 4 kB / 0.7595 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4788, allocations: 3.938 kB / 0.7595 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.479, allocations: 181.6 kB / 0.7597 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.479, allocations: 0 / 0.7597 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.4792, allocations: 27.98 kB / 0.7597 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4793, allocations: 0 / 0.7597 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4793, allocations: 3.938 kB / 0.7597 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.4793, allocations: 3.984 kB / 0.7598 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4793, allocations: 4 kB / 0.7598 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.4796, allocations: 163.4 kB / 0.7599 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.4797, allocations: 85.09 kB / 0.76 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.4797, allocations: 0 / 0.76 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.4799, allocations: 15.98 kB / 0.76 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.48, allocations: 7.984 kB / 0.76 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.48, allocations: 0 / 0.76 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.444e-05/0.4801, allocations: 99.28 kB / 0.7601 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.725e-06/0.4801, allocations: 0 / 0.7601 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002969/0.4804, allocations: 19.94 kB / 0.7601 GB, free: 0.9414 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006457/0.4811, allocations: 0.7063 MB / 0.7608 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.4813, allocations: 36.2 kB / 0.7609 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4813, allocations: 0 / 0.7609 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.4814, allocations: 28.03 kB / 0.7609 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.4816, allocations: 4 kB / 0.7609 GB, free: 144 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.4822, allocations: 133.6 kB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4825, allocations: 0.6965 MB / 0.7617 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.087e-05/0.4826, allocations: 0 / 0.7617 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.4827, allocations: 19.42 kB / 0.7617 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.4827, allocations: 0 / 0.7617 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.508, allocations: 1.545 MB / 0.7632 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003438/0.5085, allocations: 148.9 kB / 0.7634 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.004, allocations: 64 / 0.7634 GB, free: 13.54 MB / 0.6511 GB