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/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.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 4.102/4.102, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.531e-05, allocations: 5.219 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2057, allocations: 98.74 MB / 0.6289 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/0.4489, allocations: 126.6 MB / 0.7526 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/0.4493, allocations: 79.94 kB / 0.7526 GB, free: 10.21 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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.04766/0.497, allocations: 9.411 MB / 0.7618 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.497, allocations: 4 kB / 0.7618 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.809e-05/0.4971, allocations: 11.94 kB / 0.7619 GB, free: 0.7695 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00106/0.4981, allocations: 0.6298 MB / 0.7625 GB, free: 72 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.4982, allocations: 8.031 kB / 0.7625 GB, free: 64 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.4984, allocations: 35.62 kB / 0.7625 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.4993, allocations: 367.6 kB / 0.7629 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.4993, allocations: 11.98 kB / 0.7629 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.4994, allocations: 12 kB / 0.7629 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002261/0.4996, allocations: 55.98 kB / 0.7629 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.4999, allocations: 102.5 kB / 0.763 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4999, allocations: 0 / 0.763 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.5, allocations: 4 kB / 0.763 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.5, allocations: 0 / 0.763 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.5012, allocations: 0.5203 MB / 0.7635 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.5016, allocations: 122.8 kB / 0.7637 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.5017, allocations: 44.86 kB / 0.7637 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.5018, allocations: 224 / 0.7637 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.5021, allocations: 119.2 kB / 0.7638 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.5021, allocations: 0 / 0.7638 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005689/0.5027, allocations: 177.4 kB / 0.764 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.5027, allocations: 55.41 kB / 0.764 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000786/0.5035, allocations: 418.2 kB / 0.7644 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.5036, allocations: 29.7 kB / 0.7645 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.5038, allocations: 164.3 kB / 0.7646 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.5038, allocations: 31.61 kB / 0.7647 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.5039, allocations: 4 kB / 0.7647 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5041, allocations: 342.8 kB / 0.765 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.5043, allocations: 72.22 kB / 0.7651 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.5045, allocations: 98.97 kB / 0.7652 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.5048, allocations: 83.67 kB / 0.7652 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5048, allocations: 7.953 kB / 0.7652 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006959/0.5055, allocations: 249.1 kB / 0.7655 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/0.5056, allocations: 71.39 kB / 0.7655 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5056, allocations: 0 / 0.7655 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.5057, allocations: 4 kB / 0.7655 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.506, allocations: 27.97 kB / 0.7656 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.506, allocations: 0 / 0.7656 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.5062, allocations: 23.75 kB / 0.7656 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.5063, allocations: 8 kB / 0.7656 GB, free: 12.68 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.0001324/0.5064, allocations: 130.1 kB / 0.7657 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004207/0.5069, allocations: 173.2 kB / 0.7659 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.507, allocations: 35.61 kB / 0.7659 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.5075, allocations: 196.5 kB / 0.7661 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5075, allocations: 0 / 0.7661 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5075, allocations: 0 / 0.7661 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5076, allocations: 0 / 0.7661 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.508, allocations: 293.9 kB / 0.7664 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.508, allocations: 0 / 0.7664 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.5082, allocations: 19.98 kB / 0.7664 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.5082, allocations: 4 kB / 0.7664 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.5082, allocations: 4 kB / 0.7664 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5082, allocations: 0 / 0.7664 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5082, allocations: 0 / 0.7664 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.5087, allocations: 212.8 kB / 0.7666 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.509, allocations: 144.6 kB / 0.7668 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.509, allocations: 4 kB / 0.7668 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5092, allocations: 11.98 kB / 0.7668 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.5093, allocations: 15.98 kB / 0.7668 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.5094, allocations: 15.97 kB / 0.7668 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005423/0.5099, allocations: 324.5 kB / 0.7671 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5099, allocations: 0 / 0.7671 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005059/0.5105, allocations: 75.88 kB / 0.7672 GB, free: 10.95 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.002142/0.5126, allocations: 1.126 MB / 0.7683 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006531/0.5133, allocations: 326.6 kB / 0.7686 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5133, allocations: 0 / 0.7686 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.5135, allocations: 63.92 kB / 0.7687 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006545/0.5142, allocations: 69.09 kB / 0.7687 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.5157, allocations: 0.5075 MB / 0.7692 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.5162, allocations: 0.7874 MB / 0.77 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003148/0.5165, allocations: 53.98 kB / 0.77 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.5168, allocations: 103.4 kB / 0.7701 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/0.5168, allocations: 0 / 0.7701 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05011/0.5669, allocations: 6.577 MB / 0.7766 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.5673, allocations: 179.2 kB / 0.7767 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.152, allocations: 0 / 0.7767 GB, free: 1.16 MB / 0.6511 GB