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.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_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.01763/0.01763, allocations: 220.3 kB / 15.17 MB, free: 5.992 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.001865/0.001865, allocations: 180.3 kB / 16.06 MB, free: 5.871 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 4.266/4.266, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.432/4.432, allocations: 472.3 MB / 0.9017 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005506/0.000551, allocations: 12.22 kB / 1.008 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8669, allocations: 98.72 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.000838/0.8678, allocations: 323 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 3.958e-05/0.8679, allocations: 2.094 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.8679, allocations: 0 / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.8679, allocations: 1.562 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.006e-05/0.868, allocations: 0 / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 2.564e-05/0.868, allocations: 0 / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.868, allocations: 1.5 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.8681, allocations: 3.594 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/0.8681, allocations: 1.219 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.859e-05/0.8682, allocations: 0.7812 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.8682, allocations: 1.031 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.411e-06/0.8682, allocations: 3.938 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.8682, allocations: 4.562 kB / 1.104 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.8682, allocations: 30.17 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 4.156e-05/0.8683, allocations: 7.984 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8683, allocations: 1.594 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8683, allocations: 0 / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.8683, allocations: 3.375 kB / 1.105 GB, free: 212.6 MB / 0.7292 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.000252/0.8686, allocations: 305.6 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8686, allocations: 8.5 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.8687, allocations: 31.97 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.8687, allocations: 2.016 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.09e-05/0.8688, allocations: 164 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.8688, allocations: 0 / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.8688, allocations: 2.75 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.934e-05/0.8689, allocations: 33.38 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.869, allocations: 0 / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.869, allocations: 0 / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.869, allocations: 3.344 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.869, allocations: 8.875 kB / 1.105 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.8693, allocations: 383.8 kB / 1.105 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.8693, allocations: 169.6 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.8694, allocations: 83.48 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.8694, allocations: 81.66 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.8695, allocations: 108.8 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.8695, allocations: 0 / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.918e-05/0.8695, allocations: 27.11 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.8696, allocations: 134.1 kB / 1.106 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.8697, allocations: 99.77 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.8697, allocations: 25.7 kB / 1.106 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/0.8697, allocations: 81.27 kB / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.8697, allocations: 0 / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.8697, allocations: 0 / 1.106 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.8698, allocations: 315.5 kB / 1.106 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-06/0.8698, allocations: 0 / 1.106 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-06/0.8698, allocations: 3.938 kB / 1.106 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.8699, allocations: 77.69 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.8699, allocations: 75.28 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.782e-05/0.87, allocations: 32.14 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.87, allocations: 88.47 kB / 1.107 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.87, allocations: 84.73 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.496e-05/0.8701, allocations: 155.7 kB / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.688e-05/0.8701, allocations: 76.41 kB / 1.107 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-05/0.8702, allocations: 160.5 kB / 1.107 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.8702, allocations: 84.89 kB / 1.107 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.8703, allocations: 75.28 kB / 1.107 GB, free: 209.5 MB / 0.7292 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 8.309e-05/0.8704, allocations: 269.9 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.8704, allocations: 102.8 kB / 1.108 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.8705, allocations: 110.2 kB / 1.108 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/0.8705, allocations: 181.3 kB / 1.108 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.924e-05/0.8706, allocations: 182.3 kB / 1.108 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.84e-05/0.8706, allocations: 180.1 kB / 1.108 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.8708, allocations: 407.3 kB / 1.109 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/0.8709, allocations: 102.3 kB / 1.109 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.8709, allocations: 108.5 kB / 1.109 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.833e-05/0.8709, allocations: 179.5 kB / 1.109 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.871, allocations: 181.3 kB / 1.109 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.813e-05/0.871, allocations: 184.8 kB / 1.109 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.724e-05/0.8711, allocations: 178 kB / 1.11 GB, free: 207.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.8712, allocations: 306.1 kB / 1.11 GB, free: 206.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.8713, allocations: 200.6 kB / 1.11 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.8713, allocations: 178.7 kB / 1.11 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.8714, allocations: 108 kB / 1.11 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.8715, allocations: 181.2 kB / 1.111 GB, free: 206.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.8715, allocations: 104.5 kB / 1.111 GB, free: 206 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.8715, allocations: 84.28 kB / 1.111 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8716, allocations: 0.875 kB / 1.111 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003136/0.8719, allocations: 0 / 1.111 GB, free: 205.9 MB / 0.7292 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.0003005/0.8722, allocations: 0.8159 MB / 1.112 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.843e-05/0.8722, allocations: 5.281 kB / 1.112 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8723, allocations: 0 / 1.112 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.8723, allocations: 1 kB / 1.112 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.8727, allocations: 0.5182 MB / 1.112 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.8732, allocations: 0.4967 MB / 1.113 GB, free: 204 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.8734, allocations: 0.6744 MB / 1.113 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.005e-05/0.8734, allocations: 0 / 1.113 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.8735, allocations: 14.34 kB / 1.113 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of SimCode: time 8.31e-07/0.8735, allocations: 0 / 1.113 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.8936, allocations: 0.7373 MB / 1.114 GB, free: 203.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/0.894, allocations: 215 kB / 1.114 GB, free: 203 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.35, allocations: 0 / 1.114 GB, free: 203 MB / 0.7292 GB