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.Validation.Add.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.Validation.Add,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.009918/0.009918, allocations: 88.05 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.001193/0.001193, allocations: 176.2 kB / 15.93 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.177/2.177, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.364/2.364, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004711, allocations: 12.62 kB / 0.6243 GB, free: 21.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2215, allocations: 106.2 MB / 0.7281 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001966/0.2235, allocations: 1.19 MB / 0.7292 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004863/0.224, allocations: 173.1 kB / 0.7294 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.2241, allocations: 0 / 0.7294 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.2241, allocations: 7.938 kB / 0.7294 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.2242, allocations: 11.92 kB / 0.7294 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.2244, allocations: 31.95 kB / 0.7295 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2245, allocations: 47.94 kB / 0.7295 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2247, allocations: 24.14 kB / 0.7295 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.897e-05/0.2248, allocations: 31.84 kB / 0.7296 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.2249, allocations: 43.83 kB / 0.7296 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2249, allocations: 4 kB / 0.7296 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.109e-05/0.225, allocations: 4 kB / 0.7296 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.225, allocations: 15.97 kB / 0.7296 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.225, allocations: 41.62 kB / 0.7297 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2252, allocations: 59.86 kB / 0.7297 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2252, allocations: 0 / 0.7297 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2252, allocations: 0 / 0.7297 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2252, allocations: 0 / 0.7297 GB, free: 6.422 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008486/0.2261, allocations: 395.3 kB / 0.7301 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2261, allocations: 8.031 kB / 0.7301 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.2262, allocations: 34.56 kB / 0.7301 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.2262, allocations: 19.84 kB / 0.7301 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2264, allocations: 178.8 kB / 0.7303 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2264, allocations: 8 kB / 0.7303 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.2265, allocations: 4 kB / 0.7303 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.227, allocations: 113.6 kB / 0.7304 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.227, allocations: 4 kB / 0.7304 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.227, allocations: 4 kB / 0.7304 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.227, allocations: 0 / 0.7304 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.2278, allocations: 131.8 kB / 0.7306 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.2285, allocations: 340.7 kB / 0.7309 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2296, allocations: 134.5 kB / 0.731 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2297, allocations: 4 kB / 0.731 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.2297, allocations: 34.52 kB / 0.7311 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2297, allocations: 0 / 0.7311 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.001179/0.2309, allocations: 213.7 kB / 0.7313 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.231, allocations: 51.41 kB / 0.7313 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2311, allocations: 133.7 kB / 0.7314 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2312, allocations: 25.7 kB / 0.7315 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.2312, allocations: 100.1 kB / 0.7316 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.2313, allocations: 15.66 kB / 0.7316 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.2313, allocations: 15.88 kB / 0.7316 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2314, allocations: 318.8 kB / 0.7319 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.2318, allocations: 55.95 kB / 0.732 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.2322, allocations: 59.95 kB / 0.732 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.2325, allocations: 51.95 kB / 0.7321 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2325, allocations: 4 kB / 0.7321 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007845/0.2333, allocations: 161.5 kB / 0.7322 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2334, allocations: 7.953 kB / 0.7322 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2334, allocations: 0 / 0.7322 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2334, allocations: 4 kB / 0.7322 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.2337, allocations: 27.97 kB / 0.7323 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2338, allocations: 0 / 0.7323 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.234, allocations: 31.91 kB / 0.7323 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.234, allocations: 0.5469 kB / 0.7323 GB, free: 3.562 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001219/0.2342, allocations: 113.8 kB / 0.7324 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.2342, allocations: 11.89 kB / 0.7324 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.2343, allocations: 20.31 kB / 0.7324 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2343, allocations: 0 / 0.7324 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2343, allocations: 0 / 0.7324 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.2343, allocations: 4 kB / 0.7324 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.2346, allocations: 205.5 kB / 0.7326 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2346, allocations: 0 / 0.7326 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.2349, allocations: 31.97 kB / 0.7327 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.235, allocations: 0 / 0.7327 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.235, allocations: 4 kB / 0.7327 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.235, allocations: 3.953 kB / 0.7327 GB, free: 3.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.235, allocations: 0 / 0.7327 GB, free: 3.117 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008189/0.2358, allocations: 267.3 kB / 0.7329 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.2359, allocations: 81.02 kB / 0.733 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.2359, allocations: 8 kB / 0.733 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.2362, allocations: 19.97 kB / 0.733 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.2363, allocations: 19.92 kB / 0.733 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2364, allocations: 8 kB / 0.733 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.152e-05/0.2365, allocations: 95.27 kB / 0.7331 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2365, allocations: 7.938 kB / 0.7331 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000327/0.2368, allocations: 12 kB / 0.7332 GB, free: 2.574 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001184/0.238, allocations: 0.7943 MB / 0.7339 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007668/0.2388, allocations: 123.9 kB / 0.7341 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2388, allocations: 0 / 0.7341 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.2392, allocations: 75.89 kB / 0.7341 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.2395, allocations: 15.89 kB / 0.7341 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.2418, allocations: 0.6646 MB / 0.7348 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.2421, allocations: 0.7004 MB / 0.7355 GB, free: 104 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.2423, allocations: 12.19 kB / 0.7355 GB, free: 92 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.2424, allocations: 35.34 kB / 0.7355 GB, free: 56 kB / 0.5573 GB Notification: Performance of SimCode: time 1.322e-06/0.2424, allocations: 0 / 0.7355 GB, free: 56 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.2676, allocations: 2.279 MB / 0.7377 GB, free: 13.88 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003451/0.268, allocations: 180.3 kB / 0.7379 GB, free: 13.65 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/2.528, allocations: 0 / 0.7379 GB, free: 13.65 MB / 0.573 GB