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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00429/0.004295, allocations: 225.7 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001207/0.001206, allocations: 174.6 kB / 16.7 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.981/3.981, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.012/4.012, allocations: 472.3 MB / 0.9024 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 15.06 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1796, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7976/0.9773, allocations: 125.1 MB / 1.227 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.9777, allocations: 90.31 kB / 1.227 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004689/0.9824, allocations: 1.083 MB / 1.228 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9825, allocations: 0 / 1.228 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.9825, allocations: 0.5312 kB / 1.228 GB, free: 27.3 MB / 0.6198 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.0004536/0.9829, allocations: 366.7 kB / 1.228 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.983, allocations: 8.031 kB / 1.228 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.983, allocations: 12.94 kB / 1.228 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.9832, allocations: 175.6 kB / 1.229 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.9832, allocations: 0 / 1.229 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.9832, allocations: 2.688 kB / 1.229 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.9834, allocations: 63.5 kB / 1.229 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9835, allocations: 0 / 1.229 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.9835, allocations: 0 / 1.229 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.9835, allocations: 0 / 1.229 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.9837, allocations: 41.7 kB / 1.229 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.9842, allocations: 279.6 kB / 1.229 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.9844, allocations: 49.41 kB / 1.229 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.9845, allocations: 32.45 kB / 1.229 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.9846, allocations: 4 kB / 1.229 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.9846, allocations: 34 kB / 1.229 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.9846, allocations: 0 / 1.229 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004767/0.9851, allocations: 99.97 kB / 1.229 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.9851, allocations: 58.89 kB / 1.229 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.9853, allocations: 118.8 kB / 1.229 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.9853, allocations: 26.22 kB / 1.229 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.9854, allocations: 95.86 kB / 1.229 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.9854, allocations: 5.219 kB / 1.229 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.9854, allocations: 0 / 1.229 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9855, allocations: 315.8 kB / 1.23 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.9857, allocations: 26.27 kB / 1.23 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.9858, allocations: 18.27 kB / 1.23 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.9859, allocations: 30.12 kB / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.986, allocations: 0 / 1.23 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002982/0.9863, allocations: 74.03 kB / 1.23 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.9863, allocations: 4.516 kB / 1.23 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.9863, allocations: 3.031 kB / 1.23 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.9863, allocations: 4 kB / 1.23 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.9865, allocations: 14.98 kB / 1.23 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.9866, allocations: 4.797 kB / 1.23 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.9867, allocations: 16.62 kB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.9867, allocations: 0.5625 kB / 1.23 GB, free: 25.38 MB / 0.6198 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 () * Number of clocked 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 9.475e-05/0.9868, allocations: 111.3 kB / 1.23 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.9868, allocations: 7.094 kB / 1.23 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.9869, allocations: 8.422 kB / 1.23 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.9869, allocations: 0.8906 kB / 1.23 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9869, allocations: 2.578 kB / 1.23 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.9869, allocations: 3.953 kB / 1.23 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.9871, allocations: 173.7 kB / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9872, allocations: 0 / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.9873, allocations: 14.59 kB / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.9873, allocations: 0 / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.9873, allocations: 4.391 kB / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9873, allocations: 0 / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9873, allocations: 0 / 1.23 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.9877, allocations: 191.2 kB / 1.23 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.9877, allocations: 84.17 kB / 1.23 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.9878, allocations: 0 / 1.23 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.9879, allocations: 9.453 kB / 1.23 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.988, allocations: 2.344 kB / 1.23 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.988, allocations: 0.6094 kB / 1.23 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006534/0.9886, allocations: 106.7 kB / 1.231 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9887, allocations: 0 / 1.231 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000319/0.989, allocations: 7.844 kB / 1.231 GB, free: 40.68 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 () * Number of clocked 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.0001293/0.9891, allocations: 101.2 kB / 1.231 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.9895, allocations: 51.48 kB / 1.231 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9895, allocations: 0 / 1.231 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.9896, allocations: 27.67 kB / 1.231 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.9899, allocations: 11.45 kB / 1.231 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.9904, allocations: 180.4 kB / 1.231 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.9907, allocations: 0.6846 MB / 1.232 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.462e-05/0.9908, allocations: 4.844 kB / 1.232 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.9908, allocations: 11.67 kB / 1.232 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/0.9909, allocations: 2.281 kB / 1.232 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.002978/0.9938, allocations: 380.1 kB / 1.232 GB, free: 39.45 MB / 0.6355 GB