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.01268/0.01269, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.00122/0.00122, allocations: 174.5 kB / 16.06 MB, free: 5.832 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.699/3.699, allocations: 389.1 MB / 405.9 MB, free: 68.55 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.317/4.317, allocations: 472.3 MB / 0.9018 GB, free: 13.3 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005141, allocations: 12 kB / 1.008 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6229/0.6234, allocations: 98.71 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001673/0.6252, allocations: 1.192 MB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0007279/0.6259, allocations: 422 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.626, allocations: 0 / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.742e-05/0.626, allocations: 3.984 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.6261, allocations: 11.88 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.6263, allocations: 15.56 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.445e-05/0.6264, allocations: 47.8 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.6265, allocations: 10.7 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.259e-05/0.6266, allocations: 15.94 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.6267, allocations: 23.91 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.6267, allocations: 0 / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.6267, allocations: 4 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.6268, allocations: 7.922 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.6268, allocations: 39.14 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 6.78e-05/0.6269, allocations: 23.81 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6269, allocations: 0 / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6269, allocations: 0 / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6269, allocations: 0 / 1.106 GB, free: 182 MB / 0.6823 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.0004816/0.6274, allocations: 366.7 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.6274, allocations: 8.031 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.6275, allocations: 34.5 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.6275, allocations: 15.86 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.6276, allocations: 163.1 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.6277, allocations: 0.8438 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.6277, allocations: 4 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.6279, allocations: 63.06 kB / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.6279, allocations: 0 / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.6279, allocations: 3.156 kB / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6279, allocations: 0 / 1.107 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.6282, allocations: 45.23 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.6286, allocations: 276.3 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.6288, allocations: 46.56 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.6289, allocations: 33.28 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.6289, allocations: 0 / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.629, allocations: 30.56 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.629, allocations: 0 / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0004564/0.6294, allocations: 105 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.6295, allocations: 55.41 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.6296, allocations: 113.8 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.6296, allocations: 29.7 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.6296, allocations: 96.03 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.6297, allocations: 10.38 kB / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.6297, allocations: 0 / 1.107 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.6298, allocations: 327.7 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.6299, allocations: 19.98 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.63, allocations: 19.08 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.6301, allocations: 24.97 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6301, allocations: 0 / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002693/0.6304, allocations: 84.77 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6305, allocations: 4 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.6305, allocations: 5.875 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6305, allocations: 3.953 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.6307, allocations: 14.92 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.6307, allocations: 1.031 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.6308, allocations: 7.984 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.6308, allocations: 5 kB / 1.108 GB, free: 179.8 MB / 0.6823 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 7.177e-05/0.6309, allocations: 109.8 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.6309, allocations: 6.75 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.631, allocations: 8.75 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.631, allocations: 3.953 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.631, allocations: 0 / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.631, allocations: 4 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.6312, allocations: 169.6 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6312, allocations: 0 / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.6313, allocations: 17.08 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.6313, allocations: 0 / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.6314, allocations: 0 / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6314, allocations: 3.938 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6314, allocations: 9.391 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.6317, allocations: 175.9 kB / 1.108 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.6317, allocations: 81.02 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.6318, allocations: 4 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.6319, allocations: 8 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.632, allocations: 3.984 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.632, allocations: 10.61 kB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.6321, allocations: 92.91 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6321, allocations: 4.688 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002978/0.6324, allocations: 8 kB / 1.109 GB, free: 179 MB / 0.6823 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.0004907/0.6329, allocations: 0.7131 MB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.6332, allocations: 52.06 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6332, allocations: 0 / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.6333, allocations: 19.98 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.6336, allocations: 4.656 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.6342, allocations: 223.1 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.6344, allocations: 0.6887 MB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.6345, allocations: 6.172 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.6345, allocations: 16.06 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/0.6345, allocations: 0 / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.6579, allocations: 1.253 MB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.6582, allocations: 212.5 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.287, allocations: 5.594 kB / 1.112 GB, free: 176 MB / 0.6823 GB