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.FlatPlate.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.FlatPlate,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",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.01637/0.01637, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.002156/0.002156, allocations: 183.5 kB / 15.94 MB, free: 5.941 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 2.3/2.3, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.371/2.371, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.0005158, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.8661, allocations: 98.71 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.389/8.255, allocations: 2.213 GB / 2.896 GB, free: 188.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/8.255, allocations: 101 kB / 2.896 GB, free: 188.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.19/16.45, allocations: 1.405 GB / 4.302 GB, free: 57.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.196e-06/16.45, allocations: 4 kB / 4.302 GB, free: 57.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0009696/16.45, allocations: 127.8 kB / 4.302 GB, free: 57.42 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 973 * Number of variables: 973 Notification: Performance of Generate backend data structure: time 0.02722/16.47, allocations: 6.281 MB / 4.308 GB, free: 51.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/16.47, allocations: 16.02 kB / 4.308 GB, free: 51.03 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002799/16.48, allocations: 0.5262 MB / 4.308 GB, free: 50.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/16.5, allocations: 1.675 MB / 4.31 GB, free: 48.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02159/16.52, allocations: 5.183 MB / 4.315 GB, free: 43.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/16.52, allocations: 283.4 kB / 4.315 GB, free: 43.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/16.52, allocations: 371.9 kB / 4.316 GB, free: 42.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02376/16.54, allocations: 5.493 MB / 4.321 GB, free: 37.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002424/16.55, allocations: 11.94 kB / 4.321 GB, free: 37.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001985/16.55, allocations: 164 kB / 4.321 GB, free: 37.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/16.55, allocations: 163.2 kB / 4.321 GB, free: 36.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02383/16.57, allocations: 5.45 MB / 4.327 GB, free: 31.48 MB / 0.8386 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.05471/16.63, allocations: 18.89 MB / 4.345 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/16.64, allocations: 3.93 MB / 4.349 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003507/16.65, allocations: 2.541 MB / 4.352 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009686/16.66, allocations: 2.186 MB / 4.354 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=282): time 8.997e-06/16.66, allocations: 4 kB / 4.354 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282): time 0.7458/17.4, allocations: 6.958 MB / 4.36 GB, free: 119.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/17.4, allocations: 263.9 kB / 4.361 GB, free: 119.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/17.41, allocations: 3.31 MB / 4.364 GB, free: 119.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/17.41, allocations: 81.08 kB / 4.364 GB, free: 119.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003445/17.42, allocations: 1.913 MB / 4.366 GB, free: 119 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00258/17.42, allocations: 0.9591 MB / 4.367 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000587/17.42, allocations: 59.19 kB / 4.367 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004299/17.42, allocations: 429 kB / 4.367 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00828/17.43, allocations: 1.668 MB / 4.369 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009309/17.44, allocations: 2.298 MB / 4.371 GB, free: 117.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009885/17.45, allocations: 2.045 MB / 4.373 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-05/17.45, allocations: 4.375 kB / 4.373 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.02452/17.47, allocations: 4.698 MB / 4.378 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001599/17.48, allocations: 6.563 MB / 4.384 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.128e-05/17.48, allocations: 15.98 kB / 4.384 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/17.48, allocations: 112.3 kB / 4.384 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008601/17.49, allocations: 0.8094 MB / 4.385 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/17.49, allocations: 2.172 MB / 4.387 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009451/17.5, allocations: 0.5428 MB / 4.388 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/17.5, allocations: 167.8 kB / 4.388 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/17.5, allocations: 3.906 kB / 4.388 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02117/17.52, allocations: 4.375 MB / 4.392 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-05/17.52, allocations: 15.34 kB / 4.392 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/17.52, allocations: 114.7 kB / 4.392 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008425/17.53, allocations: 0.7972 MB / 4.393 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/17.53, allocations: 1.578 MB / 4.395 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009852/17.54, allocations: 0.4999 MB / 4.395 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/17.54, allocations: 161.8 kB / 4.395 GB, free: 106.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (380): * Single equations (assignments): 376 * 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.006525/17.55, allocations: 1.522 MB / 4.397 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002126/17.55, allocations: 381.6 kB / 4.397 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02681/17.58, allocations: 5.324 MB / 4.402 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.102e-05/17.58, allocations: 30.69 kB / 4.402 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/17.58, allocations: 0 / 4.402 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0195/17.6, allocations: 4.116 MB / 4.406 GB, free: 105.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03752/17.64, allocations: 9.682 MB / 4.416 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/17.64, allocations: 0 / 4.416 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00699/17.64, allocations: 0.6165 MB / 4.416 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004969/17.65, allocations: 0.6669 MB / 4.417 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009406/17.65, allocations: 97.73 kB / 4.417 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006672/17.66, allocations: 7.536 MB / 4.425 GB, free: 98.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/17.66, allocations: 0 / 4.425 GB, free: 98.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02918/17.69, allocations: 6.826 MB / 4.431 GB, free: 97.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004792/17.69, allocations: 1.151 MB / 4.432 GB, free: 97.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001937/17.69, allocations: 60.83 kB / 4.432 GB, free: 97.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008355/17.7, allocations: 329.5 kB / 4.433 GB, free: 97.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/17.7, allocations: 174.8 kB / 4.433 GB, free: 97.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007272/17.7, allocations: 138.1 kB / 4.433 GB, free: 97.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.007357/17.71, allocations: 2.619 MB / 4.436 GB, free: 97.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.382e-06/17.71, allocations: 0 / 4.436 GB, free: 97.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01517/17.73, allocations: 2.866 MB / 4.438 GB, free: 96.88 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (264): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.03231/17.76, allocations: 8.939 MB / 4.447 GB, free: 95.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02646/17.79, allocations: 6.671 MB / 4.454 GB, free: 95.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/17.79, allocations: 4.625 kB / 4.454 GB, free: 95.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.009318/17.79, allocations: 2.171 MB / 4.456 GB, free: 94.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01508/17.81, allocations: 1.873 MB / 4.458 GB, free: 94.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04116/17.85, allocations: 24.48 MB / 4.481 GB, free: 78.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004708/17.86, allocations: 3.128 MB / 4.485 GB, free: 78.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01452/17.87, allocations: 2.392 MB / 4.487 GB, free: 77.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006093/17.88, allocations: 1.895 MB / 4.489 GB, free: 77.98 MB / 0.8386 GB Notification: Performance of SimCode: time 1.493e-06/17.88, allocations: 2.812 kB / 4.489 GB, free: 77.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3882/18.26, allocations: 131.2 MB / 4.617 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004007/18.27, allocations: 260.6 kB / 4.617 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.385/27.65, allocations: 0 / 4.617 GB, free: 27.51 MB / 0.8386 GB