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.Continuous.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01071/0.01072, allocations: 89.22 kB / 15.04 MB, free: 5.578 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.001229/0.001228, allocations: 170.1 kB / 15.92 MB, free: 5.551 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.217/2.217, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.617/2.617, allocations: 252.8 MB / 0.511 GB, free: 8.309 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006527/0.0006528, allocations: 14.28 kB / 0.6244 GB, free: 21.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2458, allocations: 106.2 MB / 0.7281 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.000931/0.2468, allocations: 329.5 kB / 0.7284 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 4.419e-05/0.2469, allocations: 0 / 0.7284 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.2469, allocations: 8 kB / 0.7284 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.316e-05/0.247, allocations: 3.938 kB / 0.7284 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.893e-05/0.247, allocations: 0 / 0.7284 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.278e-05/0.247, allocations: 3.984 kB / 0.7284 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.2471, allocations: 4 kB / 0.7284 GB, free: 7.723 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.2472, allocations: 3.938 kB / 0.7284 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.373e-05/0.2472, allocations: 0 / 0.7284 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.162e-05/0.2472, allocations: 4 kB / 0.7284 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2472, allocations: 0 / 0.7284 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-06/0.2472, allocations: 0 / 0.7284 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.2473, allocations: 0 / 0.7284 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.2473, allocations: 33.64 kB / 0.7285 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 4.108e-05/0.2474, allocations: 0 / 0.7285 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2474, allocations: 0 / 0.7285 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2474, allocations: 0 / 0.7285 GB, free: 7.676 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2474, allocations: 0 / 0.7285 GB, free: 7.676 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.00031/0.2477, allocations: 311.4 kB / 0.7288 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.2478, allocations: 8.031 kB / 0.7288 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.2478, allocations: 34.56 kB / 0.7288 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.2478, allocations: 0 / 0.7288 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.248, allocations: 167 kB / 0.729 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.248, allocations: 8 kB / 0.729 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.248, allocations: 0 / 0.729 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.722e-05/0.2481, allocations: 25.7 kB / 0.729 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2482, allocations: 0 / 0.729 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2482, allocations: 3.984 kB / 0.729 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2482, allocations: 4 kB / 0.729 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.2482, allocations: 3.938 kB / 0.729 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.2486, allocations: 385.1 kB / 0.7294 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.2487, allocations: 173.1 kB / 0.7295 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.2488, allocations: 75.28 kB / 0.7296 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/0.2489, allocations: 105.8 kB / 0.7297 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.2489, allocations: 3.938 kB / 0.7297 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 8.389e-05/0.249, allocations: 37.7 kB / 0.7297 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.249, allocations: 126.7 kB / 0.7299 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.925e-05/0.2491, allocations: 97.81 kB / 0.73 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2492, allocations: 25.7 kB / 0.73 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.2492, allocations: 84.08 kB / 0.7301 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.2492, allocations: 0 / 0.7301 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-07/0.2492, allocations: 0 / 0.7301 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2494, allocations: 314.8 kB / 0.7304 GB, free: 5.504 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.2494, allocations: 4.125 kB / 0.7304 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.2494, allocations: 4 kB / 0.7304 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.2494, allocations: 75.28 kB / 0.7304 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.351e-05/0.2495, allocations: 79.28 kB / 0.7305 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.533e-05/0.2496, allocations: 29.64 kB / 0.7305 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.2496, allocations: 79.28 kB / 0.7306 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/0.2497, allocations: 87.2 kB / 0.7307 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.083e-05/0.2498, allocations: 162.5 kB / 0.7309 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-05/0.2498, allocations: 75.28 kB / 0.7309 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.515e-05/0.2499, allocations: 154.5 kB / 0.7311 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.25, allocations: 87.17 kB / 0.7312 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.25, allocations: 79.28 kB / 0.7312 GB, free: 4.594 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.0001383/0.2502, allocations: 256.4 kB / 0.7315 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.2503, allocations: 108.9 kB / 0.7316 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.131e-05/0.2504, allocations: 108.1 kB / 0.7317 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.829e-05/0.2504, allocations: 180.2 kB / 0.7319 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.771e-05/0.2505, allocations: 180.2 kB / 0.732 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.522e-05/0.2506, allocations: 185 kB / 0.7322 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.2509, allocations: 409.1 kB / 0.7326 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/0.251, allocations: 101 kB / 0.7327 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.251, allocations: 101 kB / 0.7328 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.897e-05/0.2511, allocations: 188.2 kB / 0.733 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.2512, allocations: 176.3 kB / 0.7331 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.697e-05/0.2513, allocations: 184.5 kB / 0.7333 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.647e-05/0.2514, allocations: 184.3 kB / 0.7335 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.2516, allocations: 311.8 kB / 0.7338 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.2517, allocations: 186.1 kB / 0.734 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.2518, allocations: 180.2 kB / 0.7341 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.2519, allocations: 109 kB / 0.7342 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.252, allocations: 180.2 kB / 0.7344 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.252, allocations: 105 kB / 0.7345 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.2521, allocations: 79.28 kB / 0.7346 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2521, allocations: 3.938 kB / 0.7346 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003132/0.2524, allocations: 0 / 0.7346 GB, free: 0.9297 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.0005033/0.2529, allocations: 0.8243 MB / 0.7354 GB, free: 76 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.005e-05/0.253, allocations: 0 / 0.7354 GB, free: 76 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.253, allocations: 0 / 0.7354 GB, free: 76 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.253, allocations: 0 / 0.7354 GB, free: 76 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.2534, allocations: 0.5185 MB / 0.7359 GB, free: 15.55 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.2542, allocations: 0.5018 MB / 0.7364 GB, free: 15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.2545, allocations: 0.6771 MB / 0.7371 GB, free: 14.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.051e-05/0.2545, allocations: 0 / 0.7371 GB, free: 14.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.2546, allocations: 7.438 kB / 0.7371 GB, free: 14.29 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/0.2546, allocations: 3.938 kB / 0.7371 GB, free: 14.29 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.2766, allocations: 0.7227 MB / 0.7378 GB, free: 13.67 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.2769, allocations: 199.5 kB / 0.738 GB, free: 13.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/2.665, allocations: 0 / 0.738 GB, free: 13.43 MB / 0.573 GB