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/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.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.079/4.079, allocations: 433.2 MB / 440.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.575e-05, allocations: 4.906 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2262, allocations: 98.75 MB / 0.6289 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/0.4593, allocations: 123.8 MB / 0.7498 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.4597, allocations: 71.95 kB / 0.7498 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005867/0.4656, allocations: 1.059 MB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4656, allocations: 0 / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4657, allocations: 0 / 0.7509 GB, free: 11.98 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.000745/0.4664, allocations: 375.2 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.4665, allocations: 12.02 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.4666, allocations: 11.86 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.4668, allocations: 167 kB / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4668, allocations: 0 / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.4668, allocations: 4 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001842/0.467, allocations: 27.98 kB / 0.7514 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4672, allocations: 49.69 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4672, allocations: 0 / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4673, allocations: 3.938 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4673, allocations: 8 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009024/0.4682, allocations: 305.3 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.4684, allocations: 50.56 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.4685, allocations: 16.86 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.4689, allocations: 105.2 kB / 0.7519 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4689, allocations: 30.56 kB / 0.752 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.577e-06/0.4689, allocations: 0 / 0.752 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004925/0.4694, allocations: 81.52 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.4695, allocations: 59.39 kB / 0.7521 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.4697, allocations: 117 kB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.4697, allocations: 29.69 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.4698, allocations: 84.14 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.4699, allocations: 11.91 kB / 0.7523 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.4699, allocations: 3.938 kB / 0.7523 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4701, allocations: 318.8 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.4701, allocations: 16 kB / 0.7527 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.4702, allocations: 15.98 kB / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.4704, allocations: 23.98 kB / 0.7527 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4704, allocations: 0 / 0.7527 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003351/0.4708, allocations: 77.58 kB / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4708, allocations: 7.984 kB / 0.7528 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4709, allocations: 4 kB / 0.7528 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4709, allocations: 0 / 0.7528 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.4712, allocations: 23.92 kB / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4712, allocations: 0 / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.4714, allocations: 19.98 kB / 0.7528 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.4715, allocations: 7.938 kB / 0.7528 GB, free: 9.738 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 0.0001074/0.4716, allocations: 101 kB / 0.7529 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003562/0.472, allocations: 77.56 kB / 0.753 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.472, allocations: 7.906 kB / 0.753 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.4724, allocations: 89.94 kB / 0.7531 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4725, allocations: 4 kB / 0.7531 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4725, allocations: 3.953 kB / 0.7531 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4725, allocations: 3.984 kB / 0.7531 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.4728, allocations: 154.2 kB / 0.7533 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4728, allocations: 0 / 0.7533 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.4731, allocations: 19.98 kB / 0.7533 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4731, allocations: 0 / 0.7533 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4732, allocations: 4 kB / 0.7533 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4732, allocations: 4 kB / 0.7533 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4732, allocations: 0 / 0.7533 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.4736, allocations: 171.8 kB / 0.7535 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.4737, allocations: 85.05 kB / 0.7535 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.4737, allocations: 0 / 0.7535 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.474, allocations: 15.98 kB / 0.7535 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.4741, allocations: 11.98 kB / 0.7536 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.4741, allocations: 7.938 kB / 0.7536 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001078/0.4742, allocations: 99.77 kB / 0.7537 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.925e-06/0.4743, allocations: 0 / 0.7537 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004848/0.4748, allocations: 19.88 kB / 0.7537 GB, free: 8.785 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.0008736/0.4757, allocations: 0.7085 MB / 0.7544 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.4759, allocations: 28 kB / 0.7544 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4759, allocations: 0 / 0.7544 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.476, allocations: 23.94 kB / 0.7544 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.4763, allocations: 11.92 kB / 0.7544 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.4771, allocations: 121.5 kB / 0.7546 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.4775, allocations: 0.7001 MB / 0.7552 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.271e-05/0.4776, allocations: 4 kB / 0.7552 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.4777, allocations: 15.44 kB / 0.7553 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.4777, allocations: 0 / 0.7553 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09098/0.5687, allocations: 1.211 MB / 0.7564 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/0.569, allocations: 133.8 kB / 0.7566 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.8, allocations: 4.031 kB / 0.7566 GB, free: 5.688 MB / 0.6355 GB