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.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.17/4.17, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.791e-05, allocations: 5.078 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2343, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.4725, allocations: 125 MB / 0.7568 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.4729, allocations: 87.94 kB / 0.7569 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004758/0.4777, allocations: 1.087 MB / 0.758 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4777, allocations: 0 / 0.758 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4778, allocations: 0 / 0.758 GB, free: 3.531 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005173/0.4783, allocations: 362.4 kB / 0.7583 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.4784, allocations: 8.031 kB / 0.7583 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.4784, allocations: 34.56 kB / 0.7584 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.4785, allocations: 11.86 kB / 0.7584 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.4786, allocations: 171 kB / 0.7585 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.4786, allocations: 0 / 0.7585 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.4787, allocations: 4 kB / 0.7585 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.4788, allocations: 45.69 kB / 0.7586 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4789, allocations: 0 / 0.7586 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4789, allocations: 0 / 0.7586 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4789, allocations: 0 / 0.7586 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.871e-05/0.479, allocations: 23.98 kB / 0.7586 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.4795, allocations: 280.8 kB / 0.7589 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.4796, allocations: 30.58 kB / 0.7589 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.4797, allocations: 12.86 kB / 0.7589 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.4797, allocations: 4 kB / 0.7589 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4797, allocations: 30.56 kB / 0.759 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.4797, allocations: 4 kB / 0.759 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002234/0.48, allocations: 57.67 kB / 0.759 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.48, allocations: 55.41 kB / 0.7591 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4802, allocations: 108.9 kB / 0.7592 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4802, allocations: 29.7 kB / 0.7592 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.4803, allocations: 92.05 kB / 0.7593 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.4803, allocations: 7.891 kB / 0.7593 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.4803, allocations: 0 / 0.7593 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4805, allocations: 318.8 kB / 0.7596 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.4805, allocations: 12 kB / 0.7596 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.4806, allocations: 4 kB / 0.7596 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.4806, allocations: 11.98 kB / 0.7596 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4806, allocations: 0 / 0.7596 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000144/0.4808, allocations: 57.59 kB / 0.7597 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4808, allocations: 4 kB / 0.7597 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4808, allocations: 7.938 kB / 0.7597 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4809, allocations: 0 / 0.7597 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.481, allocations: 15.98 kB / 0.7597 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4811, allocations: 3.953 kB / 0.7597 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.4812, allocations: 4 kB / 0.7597 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4812, allocations: 0 / 0.7597 GB, free: 1.535 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.758e-05/0.4813, allocations: 106.9 kB / 0.7598 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.4813, allocations: 0 / 0.7598 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.4814, allocations: 16.2 kB / 0.7598 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4814, allocations: 0 / 0.7598 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4814, allocations: 11.92 kB / 0.7598 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.4814, allocations: 3.953 kB / 0.7598 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.4816, allocations: 169.6 kB / 0.76 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.4816, allocations: 8 kB / 0.76 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.4818, allocations: 11.98 kB / 0.76 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4818, allocations: 0 / 0.76 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4818, allocations: 0 / 0.76 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4818, allocations: 0 / 0.76 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4818, allocations: 0 / 0.76 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.482, allocations: 167.3 kB / 0.7602 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.4821, allocations: 85.02 kB / 0.7603 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.4821, allocations: 0 / 0.7603 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4823, allocations: 4 kB / 0.7603 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.4823, allocations: 7.984 kB / 0.7603 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.4824, allocations: 3.938 kB / 0.7603 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.4824, allocations: 87.28 kB / 0.7604 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4825, allocations: 4 kB / 0.7604 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002754/0.4827, allocations: 8 kB / 0.7604 GB, free: 0.7656 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005003/0.4832, allocations: 0.6929 MB / 0.7611 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.4834, allocations: 20 kB / 0.7611 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4834, allocations: 0 / 0.7611 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.332e-05/0.4835, allocations: 19.98 kB / 0.7611 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.4837, allocations: 2.078 kB / 0.7611 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.4842, allocations: 110.5 kB / 0.7612 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.4845, allocations: 0.6887 MB / 0.7619 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.991e-05/0.4846, allocations: 0 / 0.7619 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.4846, allocations: 11.44 kB / 0.7619 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of SimCode: time 3.056e-06/0.4847, allocations: 0 / 0.7619 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.5051, allocations: 1.243 MB / 0.7631 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003876/0.5056, allocations: 175.7 kB / 0.7633 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.03, allocations: 0 / 0.7633 GB, free: 13.75 MB / 0.6511 GB