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.01508/0.01508, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001627/0.001627, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 1.975/1.975, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.355/2.355, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004855, allocations: 16 kB / 0.5871 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7293, allocations: 98.71 MB / 0.6835 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2604/0.9897, allocations: 123.7 MB / 0.8043 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.99, allocations: 67.95 kB / 0.8044 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005607/0.9906, allocations: 376.8 kB / 0.8047 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9906, allocations: 0 / 0.8047 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.9906, allocations: 0 / 0.8047 GB, free: 2.008 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000295/0.9909, allocations: 311.4 kB / 0.805 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.991, allocations: 12.02 kB / 0.805 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.991, allocations: 30.56 kB / 0.805 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.9911, allocations: 4 kB / 0.8051 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.9912, allocations: 175 kB / 0.8052 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.9912, allocations: 0 / 0.8052 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/0.9912, allocations: 0 / 0.8052 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.024e-05/0.9913, allocations: 25.7 kB / 0.8052 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.9914, allocations: 3.938 kB / 0.8052 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.9914, allocations: 4 kB / 0.8053 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.9914, allocations: 4 kB / 0.8053 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.9914, allocations: 0 / 0.8053 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.9918, allocations: 387.5 kB / 0.8056 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.804e-05/0.9919, allocations: 165.1 kB / 0.8058 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.9919, allocations: 79.22 kB / 0.8059 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.992, allocations: 105.8 kB / 0.806 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.992, allocations: 4 kB / 0.806 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.915e-05/0.9921, allocations: 37.69 kB / 0.806 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.9921, allocations: 126.7 kB / 0.8061 GB, free: 380 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.9922, allocations: 88.95 kB / 0.8062 GB, free: 284 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.9923, allocations: 29.7 kB / 0.8062 GB, free: 248 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.9923, allocations: 80.14 kB / 0.8063 GB, free: 164 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.9923, allocations: 0 / 0.8063 GB, free: 164 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-07/0.9923, allocations: 128 / 0.8063 GB, free: 164 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9925, allocations: 314.8 kB / 0.8066 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.9925, allocations: 0 / 0.8066 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.9925, allocations: 6.422 kB / 0.8066 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.548e-05/0.9926, allocations: 79.28 kB / 0.8067 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/0.9926, allocations: 75.28 kB / 0.8068 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.73e-05/0.9927, allocations: 33.69 kB / 0.8068 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.9927, allocations: 79.28 kB / 0.8069 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/0.9928, allocations: 82.61 kB / 0.807 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.387e-05/0.9929, allocations: 158.5 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.174e-05/0.9929, allocations: 75.28 kB / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.005e-05/0.993, allocations: 154.5 kB / 0.8073 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.9931, allocations: 87.16 kB / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.9931, allocations: 79.23 kB / 0.8075 GB, free: 14.95 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: 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 0.0001357/0.9933, allocations: 268.4 kB / 0.8077 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.9933, allocations: 108.9 kB / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.9934, allocations: 108.1 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.415e-05/0.9935, allocations: 180.5 kB / 0.8081 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.082e-05/0.9936, allocations: 176.3 kB / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.58e-05/0.9937, allocations: 192.2 kB / 0.8085 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.9939, allocations: 405.1 kB / 0.8089 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.336e-05/0.994, allocations: 101 kB / 0.8089 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.994, allocations: 108.9 kB / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-05/0.9941, allocations: 184.3 kB / 0.8092 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.1e-05/0.9942, allocations: 176.3 kB / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.825e-05/0.9943, allocations: 184.2 kB / 0.8096 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.531e-05/0.9944, allocations: 176.3 kB / 0.8097 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.9945, allocations: 311.7 kB / 0.81 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.9946, allocations: 186 kB / 0.8102 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.9947, allocations: 180.3 kB / 0.8104 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.9948, allocations: 105 kB / 0.8105 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/0.9949, allocations: 180.2 kB / 0.8107 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.995, allocations: 105 kB / 0.8108 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.995, allocations: 79.28 kB / 0.8108 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9951, allocations: 0 / 0.8108 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002941/0.9954, allocations: 0 / 0.8108 GB, free: 11.28 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: 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.0004318/0.9958, allocations: 0.8248 MB / 0.8116 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.784e-05/0.9958, allocations: 0 / 0.8116 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9959, allocations: 0 / 0.8116 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-06/0.9959, allocations: 4 kB / 0.8116 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.9962, allocations: 0.5185 MB / 0.8121 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.9969, allocations: 0.5016 MB / 0.8126 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.9972, allocations: 0.6731 MB / 0.8133 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.228e-06/0.9972, allocations: 0 / 0.8133 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.9972, allocations: 7.438 kB / 0.8133 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/0.9972, allocations: 0 / 0.8133 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/1.015, allocations: 0.7157 MB / 0.814 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000359/1.016, allocations: 205 kB / 0.8142 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.3, allocations: 4 kB / 0.8142 GB, free: 7.785 MB / 0.6355 GB