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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.655/4.655, allocations: 433.2 MB / 440.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.939e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7507, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.395/8.145, allocations: 2.222 GB / 2.851 GB, free: 149.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/8.146, allocations: 95.38 kB / 2.851 GB, free: 149.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.474/15.62, allocations: 1.392 GB / 4.243 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.914e-06/15.62, allocations: 0 / 4.243 GB, free: 18.14 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008373/15.62, allocations: 127.9 kB / 4.243 GB, free: 18.01 MB / 0.823 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.02131/15.64, allocations: 5.471 MB / 4.249 GB, free: 12.46 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/15.64, allocations: 16.02 kB / 4.249 GB, free: 12.44 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01945/15.66, allocations: 1.676 MB / 4.25 GB, free: 10.76 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/15.68, allocations: 5.152 MB / 4.256 GB, free: 5.539 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/15.68, allocations: 120 kB / 4.256 GB, free: 5.422 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/15.68, allocations: 223.9 kB / 4.256 GB, free: 5.203 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01475/15.7, allocations: 4.505 MB / 4.26 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7019/16.4, allocations: 4.622 MB / 4.265 GB, free: 116.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/16.4, allocations: 6.734 kB / 4.265 GB, free: 116.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/16.4, allocations: 7.469 kB / 4.265 GB, free: 116.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/16.4, allocations: 158.8 kB / 4.265 GB, free: 116.5 MB / 0.823 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.05812/16.46, allocations: 19.14 MB / 4.284 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008501/16.47, allocations: 3.314 MB / 4.287 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004536/16.47, allocations: 1.622 MB / 4.288 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003344/16.48, allocations: 2.06 MB / 4.29 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005794/16.48, allocations: 1.854 MB / 4.292 GB, free: 108.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=279): time 7.504e-06/16.48, allocations: 2.531 kB / 4.292 GB, free: 108.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=279): time 0.1372/16.62, allocations: 8.455 MB / 4.301 GB, free: 108 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/16.62, allocations: 272 kB / 4.301 GB, free: 107.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006852/16.63, allocations: 2.83 MB / 4.304 GB, free: 107.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/16.63, allocations: 28.95 kB / 4.304 GB, free: 107.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002548/16.63, allocations: 1.93 MB / 4.305 GB, free: 106.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002106/16.63, allocations: 0.9129 MB / 4.306 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003883/16.63, allocations: 0 / 4.306 GB, free: 106.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002307/16.63, allocations: 425.9 kB / 4.307 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/16.64, allocations: 1.379 MB / 4.308 GB, free: 106.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003918/16.64, allocations: 1.994 MB / 4.31 GB, free: 105.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3678/17.01, allocations: 13.77 MB / 4.323 GB, free: 105.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-05/17.01, allocations: 3.469 kB / 4.323 GB, free: 105.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.3561/17.37, allocations: 15.99 MB / 4.339 GB, free: 105.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00153/17.37, allocations: 6.462 MB / 4.345 GB, free: 98.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.139e-05/17.37, allocations: 14.28 kB / 4.345 GB, free: 98.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/17.37, allocations: 112.6 kB / 4.346 GB, free: 98.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008534/17.38, allocations: 0.8163 MB / 4.346 GB, free: 98.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/17.38, allocations: 2.091 MB / 4.348 GB, free: 96.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009109/17.39, allocations: 459.9 kB / 4.349 GB, free: 96.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/17.39, allocations: 163.5 kB / 4.349 GB, free: 96.56 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/17.39, allocations: 3.844 kB / 4.349 GB, free: 96.56 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3539/17.74, allocations: 15.62 MB / 4.364 GB, free: 95.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-05/17.75, allocations: 14.91 kB / 4.364 GB, free: 95.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009242/17.75, allocations: 113.5 kB / 4.364 GB, free: 95.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007995/17.75, allocations: 0.8036 MB / 4.365 GB, free: 95.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/17.76, allocations: 1.492 MB / 4.367 GB, free: 94.65 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008774/17.77, allocations: 422.5 kB / 4.367 GB, free: 94.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/17.77, allocations: 156 kB / 4.367 GB, free: 94.57 MB / 0.823 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.001384/17.77, allocations: 189.9 kB / 4.367 GB, free: 94.45 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1367/17.9, allocations: 8.463 MB / 4.376 GB, free: 93.71 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002272/17.91, allocations: 352.1 kB / 4.376 GB, free: 93.53 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.142/18.05, allocations: 9.226 MB / 4.385 GB, free: 92.81 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-05/18.05, allocations: 25.81 kB / 4.385 GB, free: 92.81 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/18.05, allocations: 0 / 4.385 GB, free: 92.81 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1364/18.19, allocations: 8.335 MB / 4.393 GB, free: 92.03 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1563/18.34, allocations: 13.38 MB / 4.406 GB, free: 91.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/18.34, allocations: 0 / 4.406 GB, free: 91.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007163/18.35, allocations: 0.6162 MB / 4.407 GB, free: 91.08 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/18.35, allocations: 456.3 kB / 4.407 GB, free: 90.99 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000975/18.35, allocations: 66.72 kB / 4.407 GB, free: 90.99 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/18.36, allocations: 7.5 MB / 4.415 GB, free: 84.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/18.36, allocations: 3.953 kB / 4.415 GB, free: 84.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1427/18.5, allocations: 10.71 MB / 4.425 GB, free: 83.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004581/18.51, allocations: 1.113 MB / 4.426 GB, free: 83.29 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001922/18.51, allocations: 5.469 kB / 4.426 GB, free: 83.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008131/18.52, allocations: 275.8 kB / 4.426 GB, free: 83.27 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/18.52, allocations: 177.3 kB / 4.427 GB, free: 83.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006631/18.52, allocations: 134.1 kB / 4.427 GB, free: 83.26 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00569/18.53, allocations: 2.175 MB / 4.429 GB, free: 83.12 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.012e-06/18.53, allocations: 3.594 kB / 4.429 GB, free: 83.12 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01601/18.54, allocations: 2.748 MB / 4.432 GB, free: 82.93 MB / 0.823 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 (261): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.1462/18.69, allocations: 12.78 MB / 4.444 GB, free: 81.19 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01656/18.7, allocations: 5.812 MB / 4.45 GB, free: 76.94 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/18.7, allocations: 5.344 kB / 4.45 GB, free: 76.94 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005987/18.71, allocations: 1.881 MB / 4.452 GB, free: 75.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01409/18.72, allocations: 1.628 MB / 4.453 GB, free: 74.12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/18.76, allocations: 8.996 MB / 4.462 GB, free: 66.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004476/18.76, allocations: 3.122 MB / 4.465 GB, free: 64.11 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0218/18.78, allocations: 3.358 MB / 4.468 GB, free: 61.99 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005665/18.79, allocations: 1.802 MB / 4.47 GB, free: 60.37 MB / 0.823 GB Notification: Performance of SimCode: time 9.52e-07/18.79, allocations: 0 / 4.47 GB, free: 60.37 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3036/19.09, allocations: 118.6 MB / 4.586 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/19.09, allocations: 173.7 kB / 4.586 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.021/28.11, allocations: 0 / 4.586 GB, free: 4.012 MB / 0.8698 GB