Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.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.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.988/3.988, allocations: 432.6 MB / 445.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.144e-05, allocations: 5.5 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2061, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/0.4346, allocations: 127.3 MB / 0.759 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.435, allocations: 75.95 kB / 0.7591 GB, free: 2.375 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.04103/0.476, allocations: 9.497 MB / 0.7684 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4761, allocations: 0 / 0.7684 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.461e-05/0.4761, allocations: 7.938 kB / 0.7684 GB, free: 8.852 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009987/0.4771, allocations: 0.653 MB / 0.769 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4772, allocations: 8.031 kB / 0.769 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.517e-05/0.4773, allocations: 38.56 kB / 0.7691 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.4774, allocations: 35.56 kB / 0.7691 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008216/0.4782, allocations: 351.9 kB / 0.7694 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.4782, allocations: 4 kB / 0.7695 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.4783, allocations: 16 kB / 0.7695 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.4786, allocations: 116.4 kB / 0.7696 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4786, allocations: 0 / 0.7696 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.4787, allocations: 3.953 kB / 0.7696 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4787, allocations: 4 kB / 0.7696 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.4789, allocations: 59.98 kB / 0.7696 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.48, allocations: 0.5471 MB / 0.7702 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.4804, allocations: 130.8 kB / 0.7703 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.4806, allocations: 49.08 kB / 0.7703 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.4806, allocations: 15.86 kB / 0.7704 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.4809, allocations: 115.3 kB / 0.7705 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.524e-06/0.4809, allocations: 4 kB / 0.7705 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005354/0.4815, allocations: 177.4 kB / 0.7706 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.4815, allocations: 55.41 kB / 0.7707 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007972/0.4823, allocations: 439.4 kB / 0.7711 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.4824, allocations: 29.7 kB / 0.7711 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4826, allocations: 160.8 kB / 0.7713 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.4826, allocations: 31.55 kB / 0.7713 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.4827, allocations: 8 kB / 0.7713 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4828, allocations: 346.8 kB / 0.7717 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.4831, allocations: 76.22 kB / 0.7717 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.4834, allocations: 114.9 kB / 0.7718 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.4837, allocations: 153.5 kB / 0.772 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4837, allocations: 0 / 0.772 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007808/0.4845, allocations: 326.4 kB / 0.7723 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.4846, allocations: 71.45 kB / 0.7724 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4846, allocations: 0 / 0.7724 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4847, allocations: 4 kB / 0.7724 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.485, allocations: 27.98 kB / 0.7724 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.485, allocations: 3.938 kB / 0.7724 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.4852, allocations: 27.69 kB / 0.7724 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.4853, allocations: 15.98 kB / 0.7725 GB, free: 4.391 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001354/0.4854, allocations: 124.9 kB / 0.7726 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.4855, allocations: 31.62 kB / 0.7726 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.4861, allocations: 204.6 kB / 0.7728 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.4861, allocations: 4 kB / 0.7728 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4862, allocations: 3.984 kB / 0.7728 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4862, allocations: 3.984 kB / 0.7728 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.4866, allocations: 313.3 kB / 0.7731 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4866, allocations: 0 / 0.7731 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.4868, allocations: 23.98 kB / 0.7731 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4868, allocations: 0 / 0.7731 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4868, allocations: 4 kB / 0.7731 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4868, allocations: 7.938 kB / 0.7731 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.4868, allocations: 3.984 kB / 0.7731 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.4874, allocations: 216.9 kB / 0.7734 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.4876, allocations: 144.6 kB / 0.7735 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.4877, allocations: 4 kB / 0.7735 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.4879, allocations: 15.98 kB / 0.7735 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.488, allocations: 23.97 kB / 0.7735 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.488, allocations: 4 kB / 0.7735 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006122/0.4887, allocations: 346.1 kB / 0.7739 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4887, allocations: 0 / 0.7739 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004966/0.4892, allocations: 79.92 kB / 0.7739 GB, free: 2.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002403/0.4916, allocations: 1.19 MB / 0.7751 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007744/0.4924, allocations: 330.7 kB / 0.7754 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4925, allocations: 4.125 kB / 0.7754 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.4927, allocations: 71.91 kB / 0.7755 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/0.4934, allocations: 68.2 kB / 0.7756 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.4949, allocations: 0.5157 MB / 0.7761 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4935/0.9884, allocations: 0.7889 MB / 0.7768 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000344/0.9888, allocations: 48.91 kB / 0.7769 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.9891, allocations: 96.94 kB / 0.777 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of SimCode: time 2.004e-06/0.9891, allocations: 0 / 0.777 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/1.029, allocations: 7.243 MB / 0.784 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/1.029, allocations: 200.4 kB / 0.7842 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.568, allocations: 3.656 kB / 0.7842 GB, free: 136.2 MB / 0.6511 GB