Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating",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.01279/0.0128, allocations: 225.8 kB / 15.18 MB, free: 5.926 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.001244/0.001243, allocations: 175.1 kB / 16.06 MB, free: 5.836 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 3.851/3.851, 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.254/4.254, allocations: 472.3 MB / 0.9017 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005048, allocations: 15.98 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7778, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Concentrating): time 0.05816/0.836, allocations: 33.19 MB / 1.137 GB, free: 189.6 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.2243/1.06, allocations: 145.2 MB / 1.278 GB, free: 59.99 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/1.063, allocations: 47.69 kB / 1.278 GB, free: 59.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002778/1.066, allocations: 496.6 kB / 1.279 GB, free: 59.45 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007384/1.074, allocations: 1.687 MB / 1.28 GB, free: 57.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007058/1.081, allocations: 1.628 MB / 1.282 GB, free: 56.17 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01795/1.099, allocations: 13.3 MB / 1.295 GB, free: 42.84 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008113/1.107, allocations: 4.469 MB / 1.299 GB, free: 38.53 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007064/1.114, allocations: 3.053 MB / 1.302 GB, free: 35.46 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006768/1.121, allocations: 3.101 MB / 1.305 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001543/1.122, allocations: 176 kB / 1.306 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005375/1.128, allocations: 0.9708 MB / 1.307 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002101/1.13, allocations: 0.9101 MB / 1.307 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002146/1.132, allocations: 1.039 MB / 1.308 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.009681/1.142, allocations: 6.73 MB / 1.315 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.142, allocations: 0 / 1.315 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.825e-06/1.142, allocations: 0 / 1.315 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000258/1.142, allocations: 0 / 1.315 GB, free: 22.5 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: 1032 * Number of variables: 1032 Notification: Performance of Generate backend data structure: time 0.01563/1.158, allocations: 4.944 MB / 1.32 GB, free: 17.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.158, allocations: 11.97 kB / 1.32 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001999/1.16, allocations: 0.5512 MB / 1.32 GB, free: 16.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/1.174, allocations: 1.414 MB / 1.322 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/1.189, allocations: 5.006 MB / 1.327 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/1.19, allocations: 299.9 kB / 1.327 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/1.192, allocations: 395.9 kB / 1.327 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01966/1.211, allocations: 5.75 MB / 1.333 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/1.211, allocations: 11.94 kB / 1.333 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/1.213, allocations: 168 kB / 1.333 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/1.213, allocations: 183.6 kB / 1.333 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02248/1.235, allocations: 5.623 MB / 1.339 GB, free: 13.82 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05532/1.291, allocations: 20.12 MB / 1.358 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/1.307, allocations: 3.693 MB / 1.362 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00794/1.315, allocations: 1.911 MB / 1.364 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004147/1.319, allocations: 1.946 MB / 1.366 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5511/1.87, allocations: 2.046 MB / 1.368 GB, free: 226.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=264): time 1.296e-05/1.87, allocations: 0 / 1.368 GB, free: 226.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264): time 0.06509/1.935, allocations: 5.169 MB / 1.373 GB, free: 225.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.935, allocations: 213.8 kB / 1.373 GB, free: 225.3 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009533/1.945, allocations: 3.348 MB / 1.376 GB, free: 224.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0008815/1.946, allocations: 80.05 kB / 1.376 GB, free: 224.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.948, allocations: 1.995 MB / 1.378 GB, free: 222.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/1.95, allocations: 0.9003 MB / 1.379 GB, free: 222.1 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/1.951, allocations: 59.72 kB / 1.379 GB, free: 222.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002601/1.951, allocations: 428 kB / 1.38 GB, free: 221.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007062/1.958, allocations: 1.575 MB / 1.381 GB, free: 221.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007787/1.966, allocations: 2.243 MB / 1.383 GB, free: 219.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007999/1.974, allocations: 1.964 MB / 1.385 GB, free: 219.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-05/1.974, allocations: 5.156 kB / 1.385 GB, free: 219.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.01997/1.994, allocations: 4.514 MB / 1.39 GB, free: 217.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004425/1.994, allocations: 0.6591 MB / 1.39 GB, free: 216.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.239e-05/1.995, allocations: 18.94 kB / 1.39 GB, free: 216.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/1.996, allocations: 112.3 kB / 1.391 GB, free: 216.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008242/2.004, allocations: 0.7754 MB / 1.391 GB, free: 216.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/2.007, allocations: 2.155 MB / 1.393 GB, free: 214.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007426/2.015, allocations: 475.8 kB / 1.394 GB, free: 214.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/2.016, allocations: 145.5 kB / 1.394 GB, free: 214.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/2.016, allocations: 8.75 kB / 1.394 GB, free: 214.2 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01963/2.036, allocations: 4.193 MB / 1.398 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.569e-05/2.036, allocations: 16.38 kB / 1.398 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/2.037, allocations: 118.4 kB / 1.398 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007668/2.044, allocations: 0.7582 MB / 1.399 GB, free: 212.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/2.047, allocations: 1.576 MB / 1.4 GB, free: 211.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007109/2.055, allocations: 436.5 kB / 1.401 GB, free: 211 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009389/2.055, allocations: 148.4 kB / 1.401 GB, free: 211 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (368): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004713/2.06, allocations: 1.528 MB / 1.403 GB, free: 210.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/2.062, allocations: 376.8 kB / 1.403 GB, free: 210 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02355/2.085, allocations: 4.411 MB / 1.407 GB, free: 208.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.756e-05/2.085, allocations: 34.89 kB / 1.407 GB, free: 208.4 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/2.085, allocations: 1.344 kB / 1.407 GB, free: 208.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02137/2.107, allocations: 3.524 MB / 1.411 GB, free: 207 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04301/2.15, allocations: 8.73 MB / 1.419 GB, free: 203.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.327e-05/2.15, allocations: 1.219 kB / 1.419 GB, free: 203.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008786/2.159, allocations: 0.6456 MB / 1.42 GB, free: 203.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009574/2.16, allocations: 91.28 kB / 1.42 GB, free: 203.4 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007002/2.16, allocations: 89.33 kB / 1.42 GB, free: 203.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/2.163, allocations: 2.153 MB / 1.422 GB, free: 201.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/2.163, allocations: 2.281 kB / 1.422 GB, free: 201.4 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02296/2.186, allocations: 6.059 MB / 1.428 GB, free: 198.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00354/2.19, allocations: 0.9609 MB / 1.429 GB, free: 197.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001381/2.191, allocations: 55.27 kB / 1.429 GB, free: 197.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006675/2.198, allocations: 334.9 kB / 1.429 GB, free: 197 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007957/2.199, allocations: 169.1 kB / 1.43 GB, free: 196.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004879/2.199, allocations: 121 kB / 1.43 GB, free: 196.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.005193/2.204, allocations: 2.341 MB / 1.432 GB, free: 194.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.71e-07/2.204, allocations: 1.406 kB / 1.432 GB, free: 194.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009408/2.214, allocations: 2.243 MB / 1.434 GB, free: 192.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02626/2.24, allocations: 7.427 MB / 1.441 GB, free: 185.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.02458/2.265, allocations: 6.399 MB / 1.448 GB, free: 178.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/2.265, allocations: 4.656 kB / 1.448 GB, free: 178.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.009419/2.274, allocations: 1.956 MB / 1.45 GB, free: 176.7 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02126/2.296, allocations: 2.008 MB / 1.451 GB, free: 174.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.14/2.436, allocations: 32.03 MB / 1.483 GB, free: 140.9 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004664/2.44, allocations: 3.145 MB / 1.486 GB, free: 137.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01681/2.457, allocations: 1.98 MB / 1.488 GB, free: 135.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008381/2.466, allocations: 1.889 MB / 1.49 GB, free: 133.9 MB / 0.7605 GB Notification: Performance of SimCode: time 2.063e-06/2.466, allocations: 11.94 kB / 1.49 GB, free: 133.9 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2979/2.764, allocations: 114.6 MB / 1.602 GB, free: 21.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/2.764, allocations: 311.2 kB / 1.602 GB, free: 21.04 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/9.867, allocations: 0 / 1.602 GB, free: 21.04 MB / 0.7605 GB