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.Sources.Validation.Constant.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.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.01144/0.01145, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.00128/0.00128, allocations: 178.2 kB / 15.95 MB, free: 5.52 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.188/2.188, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.43/2.43, allocations: 236.1 MB / 492.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006496, allocations: 15.94 kB / 0.5871 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.726/0.7267, allocations: 98.72 MB / 0.6835 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007598/0.7275, allocations: 271.4 kB / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 3.38e-05/0.7275, allocations: 0.9688 kB / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.7276, allocations: 4 kB / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.7276, allocations: 1 kB / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.47e-05/0.7276, allocations: 0 / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 2.759e-05/0.7277, allocations: 0 / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.592e-05/0.7277, allocations: 0.9688 kB / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.7278, allocations: 1.875 kB / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.277e-05/0.7278, allocations: 1.656 kB / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.05e-05/0.7278, allocations: 4 kB / 0.6837 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.7279, allocations: 3.938 kB / 0.6837 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-06/0.7279, allocations: 0 / 0.6837 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.7279, allocations: 1.219 kB / 0.6837 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.7279, allocations: 33.64 kB / 0.6838 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 3.832e-05/0.728, allocations: 3.203 kB / 0.6838 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.728, allocations: 0 / 0.6838 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/0.728, allocations: 0 / 0.6838 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.728, allocations: 0 / 0.6838 GB, free: 16.58 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002282/0.7282, allocations: 312.5 kB / 0.6841 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.7283, allocations: 8.906 kB / 0.6841 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.7283, allocations: 30.56 kB / 0.6841 GB, free: 16.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/0.7284, allocations: 5.703 kB / 0.6841 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.7285, allocations: 165.1 kB / 0.6843 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.7285, allocations: 0 / 0.6843 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.7285, allocations: 1.562 kB / 0.6843 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.625e-05/0.7286, allocations: 31.2 kB / 0.6843 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7286, allocations: 0 / 0.6843 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.7286, allocations: 1.078 kB / 0.6843 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7286, allocations: 1.188 kB / 0.6843 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.7287, allocations: 13.03 kB / 0.6843 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.7289, allocations: 389.1 kB / 0.6847 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.22e-05/0.729, allocations: 166.1 kB / 0.6848 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.729, allocations: 76.56 kB / 0.6849 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.7291, allocations: 109.8 kB / 0.685 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/0.7291, allocations: 0.9062 kB / 0.685 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.997e-05/0.7292, allocations: 35.7 kB / 0.6851 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.7292, allocations: 126.7 kB / 0.6852 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.7293, allocations: 99.08 kB / 0.6853 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.7293, allocations: 25.7 kB / 0.6853 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.7293, allocations: 82.12 kB / 0.6854 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.7294, allocations: 0 / 0.6854 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-07/0.7294, allocations: 0 / 0.6854 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.7294, allocations: 311.7 kB / 0.6857 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-06/0.7294, allocations: 5.25 kB / 0.6857 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-06/0.7295, allocations: 0 / 0.6857 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.7295, allocations: 76.03 kB / 0.6857 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.7295, allocations: 76.84 kB / 0.6858 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.947e-05/0.7296, allocations: 31.56 kB / 0.6858 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.7296, allocations: 85.39 kB / 0.6859 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.7296, allocations: 76.66 kB / 0.686 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.335e-05/0.7297, allocations: 160.4 kB / 0.6862 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.591e-05/0.7297, allocations: 76.08 kB / 0.6862 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.7298, allocations: 159.5 kB / 0.6864 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.7298, allocations: 81.34 kB / 0.6865 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.7299, allocations: 84.53 kB / 0.6865 GB, free: 13.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.749e-05/0.7299, allocations: 263.2 kB / 0.6868 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.73, allocations: 111.4 kB / 0.6869 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.73, allocations: 105.1 kB / 0.687 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-05/0.7301, allocations: 178 kB / 0.6872 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/0.7301, allocations: 182 kB / 0.6873 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.7302, allocations: 182.1 kB / 0.6875 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.7304, allocations: 409.2 kB / 0.6879 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.7304, allocations: 103.1 kB / 0.688 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.7304, allocations: 105.8 kB / 0.6881 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.708e-05/0.7305, allocations: 179.2 kB / 0.6883 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.7305, allocations: 182.4 kB / 0.6884 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.498e-05/0.7306, allocations: 185.3 kB / 0.6886 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.184e-05/0.7306, allocations: 182.3 kB / 0.6888 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.733e-05/0.7307, allocations: 305.7 kB / 0.6891 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.7308, allocations: 189 kB / 0.6893 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.7308, allocations: 186.4 kB / 0.6894 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.7309, allocations: 106 kB / 0.6895 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.731, allocations: 182.4 kB / 0.6897 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.731, allocations: 107.2 kB / 0.6898 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.7311, allocations: 80.66 kB / 0.6899 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7311, allocations: 1.219 kB / 0.6899 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003316/0.7314, allocations: 0 / 0.6899 GB, free: 9.945 MB / 0.5261 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 () * Number of clocked 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.0002861/0.7317, allocations: 0.8115 MB / 0.6907 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.076e-05/0.7318, allocations: 4 kB / 0.6907 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7318, allocations: 1.406 kB / 0.6907 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.7318, allocations: 0 / 0.6907 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.732, allocations: 0.5211 MB / 0.6912 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.7326, allocations: 0.4995 MB / 0.6917 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.7327, allocations: 0.6776 MB / 0.6924 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.726e-06/0.7328, allocations: 0 / 0.6924 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.7328, allocations: 8.562 kB / 0.6924 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/0.7328, allocations: 0 / 0.6924 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.7535, allocations: 0.72 MB / 0.6931 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.7538, allocations: 197 kB / 0.6933 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.935, allocations: 1.25 kB / 0.6933 GB, free: 6.961 MB / 0.5261 GB