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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.166/4.166, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.569e-05, allocations: 3.406 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2368, allocations: 98.74 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.299/7.536, allocations: 2.223 GB / 2.858 GB, free: 77.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/7.537, allocations: 89.66 kB / 2.858 GB, free: 77.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.96/16.5, allocations: 1.402 GB / 4.26 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.655e-06/16.5, allocations: 2.625 kB / 4.26 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001054/16.5, allocations: 123.3 kB / 4.26 GB, free: 123.8 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.02455/16.52, allocations: 5.465 MB / 4.265 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/16.52, allocations: 12.45 kB / 4.265 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003066/16.53, allocations: 0.5159 MB / 4.266 GB, free: 121.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02068/16.55, allocations: 1.684 MB / 4.267 GB, free: 121.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02322/16.57, allocations: 5.162 MB / 4.272 GB, free: 121 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005009/16.57, allocations: 278 kB / 4.273 GB, free: 121 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002324/16.57, allocations: 374.7 kB / 4.273 GB, free: 121 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/16.6, allocations: 5.154 MB / 4.278 GB, free: 120.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002902/16.6, allocations: 10.84 kB / 4.278 GB, free: 120.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002327/16.6, allocations: 160.6 kB / 4.278 GB, free: 120.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002164/16.6, allocations: 153.5 kB / 4.278 GB, free: 120.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/16.62, allocations: 4.821 MB / 4.283 GB, free: 120.5 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.06661/16.68, allocations: 18.88 MB / 4.301 GB, free: 114.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/16.7, allocations: 3.488 MB / 4.305 GB, free: 114.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007902/16.71, allocations: 1.71 MB / 4.306 GB, free: 114.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005577/16.71, allocations: 2.54 MB / 4.309 GB, free: 112 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01056/16.72, allocations: 1.961 MB / 4.311 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=282): time 1.517e-05/16.72, allocations: 3.156 kB / 4.311 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282): time 0.02057/16.74, allocations: 3.826 MB / 4.315 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/16.74, allocations: 269.2 kB / 4.315 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/16.75, allocations: 3.275 MB / 4.318 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001248/16.76, allocations: 80.2 kB / 4.318 GB, free: 110.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003642/16.76, allocations: 1.914 MB / 4.32 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002528/16.76, allocations: 0.9577 MB / 4.321 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/16.76, allocations: 60.16 kB / 4.321 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004549/16.76, allocations: 431.5 kB / 4.321 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005255/16.77, allocations: 1.428 MB / 4.323 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006103/16.78, allocations: 2.074 MB / 4.325 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00999/16.79, allocations: 1.821 MB / 4.327 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.894e-05/16.79, allocations: 3.844 kB / 4.327 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.02156/16.81, allocations: 4.245 MB / 4.331 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001774/16.81, allocations: 6.556 MB / 4.337 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/16.81, allocations: 22.44 kB / 4.337 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/16.81, allocations: 109.8 kB / 4.337 GB, free: 101.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008982/16.82, allocations: 0.8134 MB / 4.338 GB, free: 101.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/16.82, allocations: 2.155 MB / 4.34 GB, free: 99.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009985/16.83, allocations: 0.5405 MB / 4.341 GB, free: 99.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/16.83, allocations: 163.8 kB / 4.341 GB, free: 99.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/16.83, allocations: 5.438 kB / 4.341 GB, free: 99.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01652/16.85, allocations: 3.912 MB / 4.345 GB, free: 98.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.652e-05/16.85, allocations: 18.67 kB / 4.345 GB, free: 98.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/16.85, allocations: 110.4 kB / 4.345 GB, free: 98.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008481/16.86, allocations: 0.804 MB / 4.346 GB, free: 98.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/16.86, allocations: 1.552 MB / 4.347 GB, free: 97.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009675/16.87, allocations: 0.5092 MB / 4.348 GB, free: 97.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/16.87, allocations: 158.6 kB / 4.348 GB, free: 97.49 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 () * 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.002385/16.88, allocations: 291.7 kB / 4.348 GB, free: 97.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0024/16.88, allocations: 386.4 kB / 4.348 GB, free: 97.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02318/16.9, allocations: 4.851 MB / 4.353 GB, free: 96.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-05/16.9, allocations: 26.97 kB / 4.353 GB, free: 96.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/16.9, allocations: 3.156 kB / 4.353 GB, free: 96.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0177/16.92, allocations: 3.668 MB / 4.357 GB, free: 96.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04193/16.96, allocations: 9.214 MB / 4.366 GB, free: 94.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/16.96, allocations: 3.938 kB / 4.366 GB, free: 94.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007412/16.97, allocations: 0.6279 MB / 4.366 GB, free: 94.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005009/16.98, allocations: 0.6625 MB / 4.367 GB, free: 94.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/16.98, allocations: 94.42 kB / 4.367 GB, free: 94.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007028/16.98, allocations: 7.509 MB / 4.374 GB, free: 87.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/16.98, allocations: 0.8438 kB / 4.374 GB, free: 87.26 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02425/17.01, allocations: 6.134 MB / 4.38 GB, free: 84.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005373/17.01, allocations: 1.143 MB / 4.382 GB, free: 83.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002639/17.02, allocations: 56.88 kB / 4.382 GB, free: 83.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009067/17.03, allocations: 331.9 kB / 4.382 GB, free: 83.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/17.03, allocations: 182 kB / 4.382 GB, free: 83.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00108/17.03, allocations: 138 kB / 4.382 GB, free: 83.85 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00821/17.04, allocations: 2.58 MB / 4.385 GB, free: 82.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.893e-06/17.04, allocations: 0 / 4.385 GB, free: 82.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01821/17.05, allocations: 2.868 MB / 4.387 GB, free: 82.26 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) * 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.02939/17.08, allocations: 8.216 MB / 4.396 GB, free: 78.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02022/17.1, allocations: 6.097 MB / 4.401 GB, free: 76.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/17.1, allocations: 3.594 kB / 4.401 GB, free: 76.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007646/17.11, allocations: 1.947 MB / 4.403 GB, free: 75.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01718/17.13, allocations: 1.87 MB / 4.405 GB, free: 75.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0375/17.17, allocations: 9.364 MB / 4.414 GB, free: 71.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006337/17.17, allocations: 3.119 MB / 4.417 GB, free: 69.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.02324/17.2, allocations: 3.586 MB / 4.421 GB, free: 67.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006382/17.2, allocations: 1.813 MB / 4.423 GB, free: 66.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.154e-06/17.2, allocations: 0 / 4.423 GB, free: 66.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.099/18.3, allocations: 139.4 MB / 4.559 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/18.3, allocations: 223.8 kB / 4.559 GB, free: 144 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.575/27.88, allocations: 1.312 kB / 4.559 GB, free: 144 MB / 0.8698 GB