Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.312/4.312, allocations: 433.2 MB / 440.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.208e-05, allocations: 3.688 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2419, allocations: 98.73 MB / 0.6289 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.238/7.48, allocations: 2.186 GB / 2.815 GB, free: 149.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/7.481, allocations: 89.75 kB / 2.815 GB, free: 149.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.25/7.731, allocations: 61.58 MB / 2.875 GB, free: 97.62 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.104e-06/7.731, allocations: 0 / 2.875 GB, free: 97.62 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.54e-05/7.731, allocations: 20 kB / 2.875 GB, free: 97.6 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003068/7.734, allocations: 1.13 MB / 2.876 GB, free: 96.47 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/7.734, allocations: 16.02 kB / 2.876 GB, free: 96.46 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/7.738, allocations: 307.2 kB / 2.877 GB, free: 96.16 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/7.74, allocations: 0.5599 MB / 2.877 GB, free: 95.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/7.74, allocations: 27.95 kB / 2.877 GB, free: 95.64 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/7.741, allocations: 51.94 kB / 2.877 GB, free: 95.59 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003494/7.744, allocations: 1.06 MB / 2.878 GB, free: 94.78 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/7.747, allocations: 0.7485 MB / 2.879 GB, free: 94.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/7.747, allocations: 11.86 kB / 2.879 GB, free: 94.19 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/7.747, allocations: 6.375 kB / 2.879 GB, free: 94.18 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/7.747, allocations: 16 kB / 2.879 GB, free: 94.17 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007694/7.755, allocations: 2.372 MB / 2.881 GB, free: 92.25 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/7.756, allocations: 0.7403 MB / 2.882 GB, free: 91.78 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/7.757, allocations: 273 kB / 2.882 GB, free: 91.62 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/7.758, allocations: 0.6636 MB / 2.883 GB, free: 90.84 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000957/7.759, allocations: 448 kB / 2.883 GB, free: 90.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 3.677e-06/7.759, allocations: 4 kB / 2.883 GB, free: 90.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.008544/7.768, allocations: 1.11 MB / 2.884 GB, free: 89.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/7.768, allocations: 222.3 kB / 2.885 GB, free: 89 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009448/7.769, allocations: 494.4 kB / 2.885 GB, free: 88.51 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001866/7.769, allocations: 25.7 kB / 2.885 GB, free: 88.48 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/7.769, allocations: 372.3 kB / 2.885 GB, free: 88.11 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/7.77, allocations: 224.6 kB / 2.886 GB, free: 87.88 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/7.77, allocations: 0 / 2.886 GB, free: 87.88 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.00012/7.77, allocations: 378.7 kB / 2.886 GB, free: 87.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005797/7.771, allocations: 237.5 kB / 2.886 GB, free: 87.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/7.771, allocations: 334.6 kB / 2.887 GB, free: 86.92 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006445/7.778, allocations: 0.6601 MB / 2.887 GB, free: 86.26 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/7.778, allocations: 0 / 2.887 GB, free: 86.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.008491/7.786, allocations: 1.183 MB / 2.888 GB, free: 85.07 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/7.786, allocations: 59.41 kB / 2.888 GB, free: 85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/7.786, allocations: 0 / 2.888 GB, free: 85 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009642/7.787, allocations: 84.83 kB / 2.889 GB, free: 84.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/7.789, allocations: 159.8 kB / 2.889 GB, free: 84.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/7.791, allocations: 1.473 MB / 2.89 GB, free: 83.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/7.793, allocations: 71.52 kB / 2.89 GB, free: 83.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/7.793, allocations: 27.98 kB / 2.89 GB, free: 83.06 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0002694/7.793, allocations: 122.5 kB / 2.89 GB, free: 82.93 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008297/7.801, allocations: 1.113 MB / 2.891 GB, free: 81.81 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/7.802, allocations: 75.11 kB / 2.891 GB, free: 81.74 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009051/7.811, allocations: 1.351 MB / 2.893 GB, free: 80.37 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/7.811, allocations: 12 kB / 2.893 GB, free: 80.36 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/7.811, allocations: 0 / 2.893 GB, free: 80.36 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/7.811, allocations: 3.984 kB / 2.893 GB, free: 80.36 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/7.812, allocations: 0.7866 MB / 2.894 GB, free: 79.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/7.812, allocations: 4.062 kB / 2.894 GB, free: 79.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/7.814, allocations: 155.8 kB / 2.894 GB, free: 79.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008379/7.815, allocations: 80.78 kB / 2.894 GB, free: 79.29 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/7.815, allocations: 23.97 kB / 2.894 GB, free: 79.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/7.817, allocations: 1.481 MB / 2.895 GB, free: 77.67 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/7.817, allocations: 0 / 2.895 GB, free: 77.67 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008398/7.825, allocations: 1.203 MB / 2.896 GB, free: 76.44 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006932/7.826, allocations: 299.8 kB / 2.897 GB, free: 76.13 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/7.826, allocations: 7.953 kB / 2.897 GB, free: 76.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/7.828, allocations: 67.88 kB / 2.897 GB, free: 76.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/7.828, allocations: 56.69 kB / 2.897 GB, free: 76 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/7.828, allocations: 31.98 kB / 2.897 GB, free: 75.97 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006729/7.829, allocations: 402.9 kB / 2.897 GB, free: 75.58 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.21e-07/7.829, allocations: 0 / 2.897 GB, free: 75.58 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001494/7.83, allocations: 343.1 kB / 2.898 GB, free: 75.24 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.01095/7.841, allocations: 2.771 MB / 2.9 GB, free: 72.49 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002131/7.843, allocations: 0.8374 MB / 2.901 GB, free: 71.61 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/7.843, allocations: 0 / 2.901 GB, free: 71.61 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/7.844, allocations: 472.7 kB / 2.902 GB, free: 71.14 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/7.846, allocations: 173.7 kB / 2.902 GB, free: 70.97 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/7.852, allocations: 1.498 MB / 2.903 GB, free: 69.43 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/7.852, allocations: 1.011 MB / 2.904 GB, free: 68.39 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001739/7.854, allocations: 248.8 kB / 2.904 GB, free: 68.15 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007947/7.855, allocations: 331.3 kB / 2.905 GB, free: 67.83 MB / 0.823 GB Notification: Performance of SimCode: time 1.322e-06/7.855, allocations: 0 / 2.905 GB, free: 67.83 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09409/7.949, allocations: 22.94 MB / 2.927 GB, free: 45.03 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/7.95, allocations: 192.9 kB / 2.927 GB, free: 44.77 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.417/12.37, allocations: 0 / 2.927 GB, free: 44.77 MB / 0.823 GB