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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0112/0.0112, allocations: 106.2 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00127/0.00127, allocations: 183.8 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.03/2.03, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.234/2.234, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004789, allocations: 12 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6638, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.8872, allocations: 125.3 MB / 0.8058 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.8875, allocations: 75.95 kB / 0.8058 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.8984, allocations: 2.277 MB / 0.8081 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8984, allocations: 0 / 0.8081 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.8985, allocations: 3.938 kB / 0.8081 GB, free: 14.62 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005761/0.8991, allocations: 392.9 kB / 0.8084 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.8991, allocations: 11.97 kB / 0.8085 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.8992, allocations: 34.56 kB / 0.8085 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.8992, allocations: 11.91 kB / 0.8085 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.8994, allocations: 190.9 kB / 0.8087 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.8995, allocations: 7.984 kB / 0.8087 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.8995, allocations: 0 / 0.8087 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.8997, allocations: 65.67 kB / 0.8088 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8998, allocations: 0 / 0.8088 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.8998, allocations: 3.984 kB / 0.8088 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.8998, allocations: 7.938 kB / 0.8088 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.8999, allocations: 23.98 kB / 0.8088 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.9004, allocations: 292.8 kB / 0.8091 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.9006, allocations: 62.55 kB / 0.8091 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.9006, allocations: 0 / 0.8091 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.9009, allocations: 81.97 kB / 0.8092 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.354e-06/0.9009, allocations: 0 / 0.8092 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005624/0.9015, allocations: 226.7 kB / 0.8094 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.9016, allocations: 59.36 kB / 0.8095 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.9017, allocations: 121.1 kB / 0.8096 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.9018, allocations: 29.7 kB / 0.8096 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.9018, allocations: 92.08 kB / 0.8097 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.9019, allocations: 11.89 kB / 0.8097 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.9019, allocations: 0 / 0.8097 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.902, allocations: 322.8 kB / 0.81 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.9021, allocations: 27.98 kB / 0.8101 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.9022, allocations: 27.98 kB / 0.8101 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.9023, allocations: 61.62 kB / 0.8101 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9024, allocations: 4 kB / 0.8101 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003209/0.9027, allocations: 151.7 kB / 0.8103 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.9027, allocations: 29.7 kB / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.9028, allocations: 0 / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.9028, allocations: 384 / 0.8103 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.399e-05/0.9028, allocations: 7.938 kB / 0.8103 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.9028, allocations: 3.984 kB / 0.8103 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.9029, allocations: 11.95 kB / 0.8103 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.903, allocations: 7.938 kB / 0.8103 GB, free: 12.02 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 () * Number of clocked 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.000131/0.9031, allocations: 121.8 kB / 0.8105 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.9031, allocations: 7.891 kB / 0.8105 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.9032, allocations: 12.38 kB / 0.8105 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.9032, allocations: 0 / 0.8105 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.9032, allocations: 4 kB / 0.8105 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.9032, allocations: 0 / 0.8105 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.9034, allocations: 177.5 kB / 0.8107 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.9035, allocations: 7.984 kB / 0.8107 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.953e-06/0.9035, allocations: 0 / 0.8107 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.9035, allocations: 0 / 0.8107 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.9035, allocations: 0 / 0.8107 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9035, allocations: 0 / 0.8107 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9035, allocations: 0 / 0.8107 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.9039, allocations: 148.9 kB / 0.8108 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.9039, allocations: 85.09 kB / 0.8109 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.904, allocations: 4 kB / 0.8109 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.904, allocations: 8 kB / 0.8109 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.9041, allocations: 0 / 0.8109 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.9041, allocations: 7.984 kB / 0.8109 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.466e-05/0.9042, allocations: 99.27 kB / 0.811 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9042, allocations: 0 / 0.811 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003265/0.9046, allocations: 31.97 kB / 0.811 GB, free: 11.22 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) * Number of clocked states: 0 () * 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.0007999/0.9054, allocations: 0.7138 MB / 0.8117 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.9057, allocations: 123.3 kB / 0.8118 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9057, allocations: 0 / 0.8118 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.9058, allocations: 32.52 kB / 0.8119 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.906, allocations: 13.17 kB / 0.8119 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.9071, allocations: 0.5772 MB / 0.8125 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.9074, allocations: 0.6887 MB / 0.8131 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.9075, allocations: 4.234 kB / 0.8131 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.9075, allocations: 15.44 kB / 0.8131 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.9075, allocations: 0 / 0.8131 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.9276, allocations: 1.775 MB / 0.8149 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/0.928, allocations: 179.2 kB / 0.815 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.521, allocations: 0 / 0.815 GB, free: 7.039 MB / 0.6355 GB