Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.245/4.245, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.298e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.6366, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.8769, allocations: 123.4 MB / 0.7494 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.8772, allocations: 75.94 kB / 0.7495 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004488/0.8817, allocations: 1.12 MB / 0.7506 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8818, allocations: 0 / 0.7506 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.8818, allocations: 0 / 0.7506 GB, free: 2.969 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006772/0.8825, allocations: 386.4 kB / 0.7509 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.722e-05/0.8826, allocations: 8.031 kB / 0.7509 GB, free: 2.535 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.8827, allocations: 95.09 kB / 0.751 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.8831, allocations: 270 kB / 0.7513 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.116e-05/0.8832, allocations: 150.6 kB / 0.7514 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.8833, allocations: 154.6 kB / 0.7516 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.707e-05/0.8834, allocations: 150.6 kB / 0.7517 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.8836, allocations: 109 kB / 0.7518 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005599/0.8842, allocations: 79.28 kB / 0.7519 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.8849, allocations: 162.4 kB / 0.752 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.06e-05/0.885, allocations: 150.6 kB / 0.7522 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.8857, allocations: 482.3 kB / 0.7526 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.8859, allocations: 169.1 kB / 0.7528 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.886, allocations: 80.14 kB / 0.7529 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.8861, allocations: 75.28 kB / 0.753 GB, free: 356 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.357e-05/0.8862, allocations: 108.1 kB / 0.7531 GB, free: 240 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 5.48e-06/0.8862, allocations: 0 / 0.7531 GB, free: 240 kB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0002004/0.8864, allocations: 41.55 kB / 0.7531 GB, free: 192 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.8865, allocations: 63.39 kB / 0.7532 GB, free: 116 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.8871, allocations: 198 kB / 0.7534 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.8871, allocations: 25.7 kB / 0.7534 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.8873, allocations: 115.8 kB / 0.7535 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.8873, allocations: 3.938 kB / 0.7535 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.8874, allocations: 0 / 0.7535 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002706/0.8877, allocations: 322.8 kB / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.8879, allocations: 44.33 kB / 0.7538 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.8883, allocations: 173.1 kB / 0.754 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.89, allocations: 111.8 kB / 0.7541 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.8901, allocations: 3.953 kB / 0.7541 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002051/0.8922, allocations: 253 kB / 0.7544 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.8923, allocations: 8 kB / 0.7544 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.861e-05/0.8923, allocations: 4 kB / 0.7544 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.8925, allocations: 8 kB / 0.7544 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.8934, allocations: 48.56 kB / 0.7544 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.577e-05/0.8934, allocations: 7.938 kB / 0.7544 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.8938, allocations: 23.78 kB / 0.7545 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.8938, allocations: 12 kB / 0.7545 GB, free: 14.68 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001732/0.894, allocations: 184.2 kB / 0.7546 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001363/0.8942, allocations: 154.4 kB / 0.7548 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.8942, allocations: 112.8 kB / 0.7549 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/0.8943, allocations: 114.2 kB / 0.755 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.733e-05/0.8944, allocations: 184.3 kB / 0.7552 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-05/0.8945, allocations: 183.3 kB / 0.7554 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-05/0.8946, allocations: 180.3 kB / 0.7555 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.895, allocations: 421.7 kB / 0.7559 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/0.895, allocations: 108.9 kB / 0.756 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.8951, allocations: 105 kB / 0.7561 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.454e-05/0.8952, allocations: 180.3 kB / 0.7563 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.8953, allocations: 184.2 kB / 0.7565 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.478e-05/0.8954, allocations: 176.3 kB / 0.7566 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.661e-05/0.8955, allocations: 184.2 kB / 0.7568 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.8957, allocations: 315.6 kB / 0.7571 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.8958, allocations: 194 kB / 0.7573 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.8959, allocations: 184.2 kB / 0.7575 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.8961, allocations: 101 kB / 0.7576 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.8962, allocations: 180.2 kB / 0.7578 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.8962, allocations: 109 kB / 0.7579 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001867/0.8964, allocations: 148.6 kB / 0.758 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8964, allocations: 0 / 0.758 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004572/0.8969, allocations: 23.94 kB / 0.758 GB, free: 10.82 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 (0): * Single equations (assignments): 0 * 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.001092/0.898, allocations: 0.8281 MB / 0.7588 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.8985, allocations: 83.77 kB / 0.7589 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8985, allocations: 0 / 0.7589 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.306e-06/0.8985, allocations: 3.984 kB / 0.7589 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006298/0.8992, allocations: 0.5276 MB / 0.7594 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.9004, allocations: 273.6 kB / 0.7597 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.9012, allocations: 0.7157 MB / 0.7604 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.018e-05/0.9013, allocations: 19.97 kB / 0.7604 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.9014, allocations: 31.42 kB / 0.7604 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.724e-06/0.9014, allocations: 0 / 0.7604 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05042/0.9519, allocations: 1.904 MB / 0.7623 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/0.9522, allocations: 159.9 kB / 0.7624 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.38, allocations: 0 / 0.7624 GB, free: 6.16 MB / 0.6355 GB