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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01155/0.01155, allocations: 106.8 kB / 15.06 MB, free: 5.555 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.001263/0.001263, allocations: 184.9 kB / 15.95 MB, free: 5.52 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 2.335/2.335, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.658/2.658, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006906/0.0006913, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/0.7781, allocations: 98.7 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002311/0.7805, allocations: 1.193 MB / 0.6846 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.7815, allocations: 418 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.7816, allocations: 1.656 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.7816, allocations: 0.6562 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.7817, allocations: 15.09 kB / 0.685 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.7819, allocations: 17.92 kB / 0.685 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.782, allocations: 31.27 kB / 0.6851 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.7822, allocations: 15.44 kB / 0.6851 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.7823, allocations: 20.34 kB / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.7824, allocations: 21.14 kB / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.7825, allocations: 0 / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.7825, allocations: 3.094 kB / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.7825, allocations: 9.328 kB / 0.6851 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.7826, allocations: 37.17 kB / 0.6852 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.109e-05/0.7827, allocations: 26.98 kB / 0.6852 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7827, allocations: 4 kB / 0.6852 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7827, allocations: 0 / 0.6852 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.7827, allocations: 0 / 0.6852 GB, free: 15.58 MB / 0.5261 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.0005604/0.7833, allocations: 359.6 kB / 0.6855 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.7834, allocations: 9.5 kB / 0.6855 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.7834, allocations: 35.22 kB / 0.6856 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.7835, allocations: 15.39 kB / 0.6856 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.7836, allocations: 171.8 kB / 0.6857 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.7836, allocations: 0.9688 kB / 0.6858 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.7836, allocations: 2.25 kB / 0.6858 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.7839, allocations: 58.8 kB / 0.6858 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.7839, allocations: 1.469 kB / 0.6858 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.7839, allocations: 0 / 0.6858 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.7839, allocations: 0 / 0.6858 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.7842, allocations: 47.61 kB / 0.6859 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.7847, allocations: 270.9 kB / 0.6861 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.7849, allocations: 49.22 kB / 0.6862 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.785, allocations: 0.6094 kB / 0.6862 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.785, allocations: 32.36 kB / 0.6862 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.875e-06/0.785, allocations: 0 / 0.6862 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000536/0.7856, allocations: 108.2 kB / 0.6863 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.7856, allocations: 53.11 kB / 0.6863 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.7857, allocations: 117.9 kB / 0.6865 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.7858, allocations: 25.7 kB / 0.6865 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.7858, allocations: 92.03 kB / 0.6866 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.7859, allocations: 9.375 kB / 0.6866 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.7859, allocations: 5.031 kB / 0.6866 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.786, allocations: 321.9 kB / 0.6869 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.7861, allocations: 21.36 kB / 0.6869 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.7862, allocations: 21.42 kB / 0.6869 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.7864, allocations: 22.28 kB / 0.687 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.7864, allocations: 0 / 0.687 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003422/0.7868, allocations: 79.84 kB / 0.687 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.7868, allocations: 6.75 kB / 0.687 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.7868, allocations: 5.344 kB / 0.687 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.7869, allocations: 0.5625 kB / 0.687 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.787, allocations: 19.59 kB / 0.6871 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7871, allocations: 3.984 kB / 0.6871 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.7872, allocations: 6.969 kB / 0.6871 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.7872, allocations: 5.609 kB / 0.6871 GB, free: 13.8 MB / 0.5261 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.311e-05/0.7873, allocations: 109.2 kB / 0.6872 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.7874, allocations: 3.484 kB / 0.6872 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.7874, allocations: 14.09 kB / 0.6872 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7874, allocations: 0.5625 kB / 0.6872 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7874, allocations: 3.953 kB / 0.6872 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.7874, allocations: 6.297 kB / 0.6872 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.7877, allocations: 171.3 kB / 0.6874 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7877, allocations: 0 / 0.6874 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.7878, allocations: 16.52 kB / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.7879, allocations: 0 / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.7879, allocations: 6.203 kB / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7879, allocations: 0 / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7879, allocations: 4.703 kB / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.7883, allocations: 184.2 kB / 0.6876 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.7883, allocations: 82.88 kB / 0.6877 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.7884, allocations: 4.75 kB / 0.6877 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.7885, allocations: 9.469 kB / 0.6877 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.7886, allocations: 1.469 kB / 0.6877 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.7886, allocations: 2.703 kB / 0.6877 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.146e-05/0.7887, allocations: 92.23 kB / 0.6878 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7887, allocations: 3.938 kB / 0.6878 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003171/0.789, allocations: 10.14 kB / 0.6878 GB, free: 13.11 MB / 0.5261 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.0006029/0.7896, allocations: 0.7146 MB / 0.6885 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.79, allocations: 48.27 kB / 0.6885 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.79, allocations: 0 / 0.6885 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.7902, allocations: 24.83 kB / 0.6885 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.7904, allocations: 7.891 kB / 0.6885 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.7912, allocations: 221.5 kB / 0.6888 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.7914, allocations: 0.6861 MB / 0.6894 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.786e-05/0.7914, allocations: 3.062 kB / 0.6894 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.7915, allocations: 14.58 kB / 0.6894 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/0.7915, allocations: 0 / 0.6894 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.8126, allocations: 1.234 MB / 0.6906 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002844/0.8129, allocations: 212.4 kB / 0.6909 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.445, allocations: 4 kB / 0.6909 GB, free: 11.09 MB / 0.5261 GB