Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01048/0.01048, allocations: 89.08 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001245/0.001245, allocations: 170 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.052/2.052, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.709/2.709, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004807, allocations: 10.97 kB / 0.6244 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007977/0.2249, allocations: 284.1 kB / 0.7284 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 3.572e-05/0.225, allocations: 4 kB / 0.7284 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.225, allocations: 0 / 0.7284 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.2251, allocations: 0 / 0.7284 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.116e-05/0.2251, allocations: 0 / 0.7284 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 2.671e-05/0.2251, allocations: 0 / 0.7284 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.2252, allocations: 3.984 kB / 0.7284 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.2253, allocations: 3.938 kB / 0.7284 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.2253, allocations: 8 kB / 0.7284 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.813e-05/0.2253, allocations: 0 / 0.7284 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.2253, allocations: 0 / 0.7284 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.017e-06/0.2253, allocations: 0 / 0.7284 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.2254, allocations: 3.938 kB / 0.7284 GB, free: 7.812 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.2254, allocations: 29.7 kB / 0.7284 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 4.44e-05/0.2254, allocations: 3.984 kB / 0.7284 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.2255, allocations: 0 / 0.7284 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2255, allocations: 0 / 0.7284 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.2255, allocations: 0 / 0.7284 GB, free: 7.773 MB / 0.5573 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.0003107/0.2258, allocations: 311.4 kB / 0.7287 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2259, allocations: 8.031 kB / 0.7287 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.2259, allocations: 30.56 kB / 0.7287 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.2259, allocations: 3.953 kB / 0.7287 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2261, allocations: 167.1 kB / 0.7289 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2261, allocations: 0 / 0.7289 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.2261, allocations: 0 / 0.7289 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.2262, allocations: 25.7 kB / 0.7289 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2262, allocations: 0 / 0.7289 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2263, allocations: 7.984 kB / 0.7289 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2263, allocations: 4 kB / 0.7289 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.2263, allocations: 11.89 kB / 0.729 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.2267, allocations: 381.1 kB / 0.7293 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.372e-05/0.2268, allocations: 165.1 kB / 0.7295 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.2268, allocations: 75.28 kB / 0.7295 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.481e-05/0.2269, allocations: 117.8 kB / 0.7297 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.522e-06/0.2269, allocations: 0 / 0.7297 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.965e-05/0.227, allocations: 33.69 kB / 0.7297 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.2271, allocations: 126.7 kB / 0.7298 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.2272, allocations: 101.8 kB / 0.7299 GB, free: 6.035 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2272, allocations: 25.7 kB / 0.7299 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.2273, allocations: 84.27 kB / 0.73 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2273, allocations: 0 / 0.73 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.2273, allocations: 0 / 0.73 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2274, allocations: 314.8 kB / 0.7303 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.2274, allocations: 3.938 kB / 0.7303 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.2275, allocations: 0 / 0.7303 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.2275, allocations: 79.28 kB / 0.7304 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/0.2275, allocations: 75.28 kB / 0.7305 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.907e-05/0.2276, allocations: 29.64 kB / 0.7305 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.2277, allocations: 87.28 kB / 0.7306 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/0.2277, allocations: 83.27 kB / 0.7307 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.536e-05/0.2278, allocations: 158.5 kB / 0.7308 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.237e-05/0.2278, allocations: 75.28 kB / 0.7309 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-05/0.2279, allocations: 154.5 kB / 0.731 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.228, allocations: 83.22 kB / 0.7311 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.2281, allocations: 79.28 kB / 0.7312 GB, free: 4.699 MB / 0.5573 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.0001441/0.2282, allocations: 260.4 kB / 0.7314 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.2283, allocations: 112.9 kB / 0.7315 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.2284, allocations: 104.1 kB / 0.7316 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-05/0.2284, allocations: 180.2 kB / 0.7318 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.77e-05/0.2285, allocations: 180.3 kB / 0.732 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.54e-05/0.2286, allocations: 184.9 kB / 0.7322 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.2289, allocations: 405.2 kB / 0.7325 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.281e-05/0.229, allocations: 101 kB / 0.7326 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.229, allocations: 108.9 kB / 0.7327 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-05/0.2291, allocations: 180.2 kB / 0.7329 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.517e-05/0.2292, allocations: 180.3 kB / 0.7331 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.972e-05/0.2293, allocations: 184.5 kB / 0.7333 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-05/0.2294, allocations: 184.3 kB / 0.7334 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.2296, allocations: 307.7 kB / 0.7337 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.2297, allocations: 190.1 kB / 0.7339 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.2298, allocations: 180.2 kB / 0.7341 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.2299, allocations: 101 kB / 0.7342 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.23, allocations: 188.2 kB / 0.7344 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.155e-05/0.23, allocations: 101 kB / 0.7345 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.495e-05/0.2301, allocations: 79.28 kB / 0.7345 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2301, allocations: 0 / 0.7345 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000332/0.2305, allocations: 4 kB / 0.7345 GB, free: 1.035 MB / 0.5573 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.0005089/0.231, allocations: 0.8125 MB / 0.7353 GB, free: 196 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.414e-05/0.2311, allocations: 4.094 kB / 0.7353 GB, free: 192 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2311, allocations: 7.938 kB / 0.7353 GB, free: 184 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.2311, allocations: 0 / 0.7353 GB, free: 184 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.2315, allocations: 0.5262 MB / 0.7359 GB, free: 15.65 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.2322, allocations: 0.5018 MB / 0.7363 GB, free: 15.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.2325, allocations: 0.6731 MB / 0.737 GB, free: 14.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.146e-05/0.2326, allocations: 0 / 0.737 GB, free: 14.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.2326, allocations: 11.44 kB / 0.737 GB, free: 14.39 MB / 0.573 GB Notification: Performance of SimCode: time 1.173e-06/0.2326, allocations: 0 / 0.737 GB, free: 14.39 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.2545, allocations: 0.7224 MB / 0.7377 GB, free: 13.77 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/0.2549, allocations: 201 kB / 0.7379 GB, free: 13.52 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.403, allocations: 0 / 0.7379 GB, free: 13.52 MB / 0.573 GB