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.IntegerReplicator.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.IntegerReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.249/4.249, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.922e-05, allocations: 12 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6275/0.6276, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.8539, allocations: 124.5 MB / 0.7505 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.8543, allocations: 71.95 kB / 0.7506 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01527/0.8696, allocations: 2.258 MB / 0.7528 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8696, allocations: 0 / 0.7528 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.8697, allocations: 0 / 0.7528 GB, free: 0.6836 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006689/0.8703, allocations: 392.1 kB / 0.7532 GB, free: 256 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.525e-05/0.8704, allocations: 12.02 kB / 0.7532 GB, free: 244 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.8705, allocations: 7.906 kB / 0.7532 GB, free: 236 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.8708, allocations: 179 kB / 0.7533 GB, free: 16 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.8709, allocations: 3.938 kB / 0.7533 GB, free: 12 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.8709, allocations: 8 kB / 0.7534 GB, free: 4 kB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001769/0.8711, allocations: 27.98 kB / 0.7534 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.8713, allocations: 57.67 kB / 0.7534 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8714, allocations: 0 / 0.7534 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.8714, allocations: 0 / 0.7534 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.8714, allocations: 4 kB / 0.7534 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.872, allocations: 261.4 kB / 0.7537 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.8723, allocations: 62.5 kB / 0.7537 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.8724, allocations: 28.92 kB / 0.7538 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.8724, allocations: 3.984 kB / 0.7538 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.8727, allocations: 75.44 kB / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 4.178e-06/0.8727, allocations: 0 / 0.7538 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005037/0.8732, allocations: 117.6 kB / 0.754 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.8733, allocations: 51.41 kB / 0.754 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.8735, allocations: 129 kB / 0.7541 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.8735, allocations: 29.69 kB / 0.7542 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.8736, allocations: 88.14 kB / 0.7542 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.8737, allocations: 7.906 kB / 0.7543 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.8737, allocations: 0 / 0.7543 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8739, allocations: 329 kB / 0.7546 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.874, allocations: 24 kB / 0.7546 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.8742, allocations: 23.98 kB / 0.7546 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.8744, allocations: 39.97 kB / 0.7547 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8744, allocations: 0 / 0.7547 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005084/0.875, allocations: 125.5 kB / 0.7548 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.875, allocations: 33.7 kB / 0.7548 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.8751, allocations: 0 / 0.7548 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.8751, allocations: 0 / 0.7548 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.797e-05/0.8751, allocations: 0 / 0.7548 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8752, allocations: 0 / 0.7548 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.8753, allocations: 4 kB / 0.7548 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.8753, allocations: 4 kB / 0.7548 GB, free: 14.39 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: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001362/0.8755, allocations: 116.9 kB / 0.7549 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004109/0.8759, allocations: 121.5 kB / 0.755 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.876, allocations: 3.906 kB / 0.755 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.876, allocations: 9.094 kB / 0.7551 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.8761, allocations: 0 / 0.7551 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.8761, allocations: 4 kB / 0.7551 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.8761, allocations: 3.953 kB / 0.7551 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.8764, allocations: 146.2 kB / 0.7552 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8764, allocations: 3.938 kB / 0.7552 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-06/0.8764, allocations: 4 kB / 0.7552 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.8764, allocations: 4 kB / 0.7552 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.8765, allocations: 3.984 kB / 0.7552 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.8765, allocations: 3.984 kB / 0.7552 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.8765, allocations: 3.938 kB / 0.7552 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/0.8769, allocations: 149.2 kB / 0.7554 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.877, allocations: 81.05 kB / 0.7554 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.8771, allocations: 0 / 0.7554 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.8772, allocations: 11.98 kB / 0.7555 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.8773, allocations: 0 / 0.7555 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.8773, allocations: 15.92 kB / 0.7555 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.971e-05/0.8774, allocations: 91.28 kB / 0.7556 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.91e-07/0.8775, allocations: 0 / 0.7556 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000512/0.878, allocations: 31.98 kB / 0.7556 GB, free: 13.51 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: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001042/0.8791, allocations: 0.7099 MB / 0.7563 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.8794, allocations: 123.3 kB / 0.7564 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8794, allocations: 0 / 0.7564 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.8796, allocations: 24 kB / 0.7564 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.8798, allocations: 3.938 kB / 0.7564 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007228/0.8805, allocations: 157.7 kB / 0.7566 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.8809, allocations: 0.6963 MB / 0.7573 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.8809, allocations: 4 kB / 0.7573 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.881, allocations: 15.42 kB / 0.7573 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of SimCode: time 1.302e-06/0.881, allocations: 0 / 0.7573 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.9131, allocations: 1.467 MB / 0.7587 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.9135, allocations: 140.3 kB / 0.7588 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.21, allocations: 0 / 0.7588 GB, free: 10.02 MB / 0.6355 GB