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.Tubular.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.Tubular,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.446/4.446, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.907e-05, allocations: 4.203 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2704, allocations: 98.74 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.198/8.469, allocations: 2.468 GB / 3.103 GB, free: 220.8 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/8.469, allocations: 91.45 kB / 3.103 GB, free: 220.8 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.429/12.9, allocations: 0.8954 GB / 3.999 GB, free: 35.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.024e-06/12.9, allocations: 3.938 kB / 3.999 GB, free: 35.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0008833/12.9, allocations: 119.9 kB / 3.999 GB, free: 35.43 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: 964 * Number of variables: 964 Notification: Performance of Generate backend data structure: time 0.0173/12.92, allocations: 4.287 MB / 4.003 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/12.92, allocations: 12.03 kB / 4.003 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002216/12.92, allocations: 0.5143 MB / 4.003 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/12.93, allocations: 1.363 MB / 4.005 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/12.95, allocations: 5.276 MB / 4.01 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/12.95, allocations: 279.4 kB / 4.01 GB, free: 23.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001848/12.96, allocations: 383.8 kB / 4.011 GB, free: 23.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/12.97, allocations: 4.962 MB / 4.015 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/12.97, allocations: 15.92 kB / 4.015 GB, free: 18.03 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009954/12.97, allocations: 156 kB / 4.016 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001973/12.97, allocations: 171.1 kB / 4.016 GB, free: 17.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/12.99, allocations: 4.717 MB / 4.02 GB, free: 12.99 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.7568/13.75, allocations: 19.56 MB / 4.039 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/13.76, allocations: 3.307 MB / 4.043 GB, free: 122 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005619/13.76, allocations: 1.696 MB / 4.044 GB, free: 122 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003193/13.77, allocations: 1.864 MB / 4.046 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006667/13.77, allocations: 1.835 MB / 4.048 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=265): time 1.431e-05/13.77, allocations: 1.375 kB / 4.048 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=265): time 0.01423/13.79, allocations: 3.181 MB / 4.051 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/13.79, allocations: 264.5 kB / 4.051 GB, free: 119.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/13.8, allocations: 3.394 MB / 4.055 GB, free: 119.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0009775/13.8, allocations: 80.14 kB / 4.055 GB, free: 119.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00346/13.8, allocations: 1.927 MB / 4.057 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/13.8, allocations: 0.8998 MB / 4.057 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004612/13.81, allocations: 57.81 kB / 4.057 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003169/13.81, allocations: 435.4 kB / 4.058 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004514/13.81, allocations: 1.38 MB / 4.059 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005954/13.82, allocations: 2.062 MB / 4.061 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005775/13.82, allocations: 1.779 MB / 4.063 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-05/13.82, allocations: 7 kB / 4.063 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01597/13.84, allocations: 4.127 MB / 4.067 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001854/13.84, allocations: 7.43 MB / 4.074 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.979e-05/13.84, allocations: 17.56 kB / 4.074 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/13.84, allocations: 114.3 kB / 4.074 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008451/13.85, allocations: 0.8247 MB / 4.075 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/13.85, allocations: 2.158 MB / 4.077 GB, free: 107 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008429/13.86, allocations: 0.5317 MB / 4.078 GB, free: 106.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/13.86, allocations: 149.2 kB / 4.078 GB, free: 106.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/13.86, allocations: 3.438 kB / 4.078 GB, free: 106.9 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0123/13.88, allocations: 3.815 MB / 4.082 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-05/13.88, allocations: 20.78 kB / 4.082 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009771/13.88, allocations: 109.5 kB / 4.082 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008204/13.88, allocations: 0.8146 MB / 4.083 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/13.89, allocations: 1.562 MB / 4.084 GB, free: 105.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008881/13.9, allocations: 499 kB / 4.085 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/13.9, allocations: 151.4 kB / 4.085 GB, free: 105.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (372): * Single equations (assignments): 368 * 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.00131/13.9, allocations: 284.6 kB / 4.085 GB, free: 105.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/13.9, allocations: 379 kB / 4.085 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/13.92, allocations: 3.993 MB / 4.089 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/13.92, allocations: 33.55 kB / 4.089 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/13.92, allocations: 3.875 kB / 4.089 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009187/13.92, allocations: 3.112 MB / 4.092 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/13.95, allocations: 8.52 MB / 4.101 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/13.95, allocations: 0 / 4.101 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007376/13.96, allocations: 0.6474 MB / 4.101 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009388/13.96, allocations: 92.22 kB / 4.101 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008483/13.96, allocations: 89.16 kB / 4.102 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/13.96, allocations: 2.148 MB / 4.104 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/13.96, allocations: 3.875 kB / 4.104 GB, free: 102 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/13.98, allocations: 5.454 MB / 4.109 GB, free: 101.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004432/13.98, allocations: 1.046 MB / 4.11 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001766/13.99, allocations: 65 kB / 4.11 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007627/13.99, allocations: 348.5 kB / 4.11 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009241/13.99, allocations: 167.5 kB / 4.111 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005264/14, allocations: 106.2 kB / 4.111 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.007/14, allocations: 2.662 MB / 4.113 GB, free: 101 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.142e-06/14, allocations: 3.938 kB / 4.113 GB, free: 101 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01273/14.02, allocations: 2.447 MB / 4.116 GB, free: 100.8 MB / 0.8386 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 270 * 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.02063/14.04, allocations: 7.624 MB / 4.123 GB, free: 99.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01776/14.05, allocations: 5.923 MB / 4.129 GB, free: 99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/14.05, allocations: 6.594 kB / 4.129 GB, free: 99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.005336/14.06, allocations: 1.769 MB / 4.131 GB, free: 98.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01624/14.08, allocations: 1.963 MB / 4.132 GB, free: 98.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/14.1, allocations: 9.03 MB / 4.141 GB, free: 97.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/14.11, allocations: 3.097 MB / 4.144 GB, free: 96.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0179/14.13, allocations: 3.024 MB / 4.147 GB, free: 96.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005032/14.13, allocations: 1.785 MB / 4.149 GB, free: 96.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.746e-06/14.13, allocations: 2.5 kB / 4.149 GB, free: 96.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3155/14.45, allocations: 135 MB / 4.281 GB, free: 43.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/14.45, allocations: 223.3 kB / 4.281 GB, free: 42.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.464/23.91, allocations: 0 / 4.281 GB, free: 42.79 MB / 0.8386 GB