Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.307/4.307, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.309e-05, allocations: 4.484 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2284, allocations: 98.74 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.351, allocations: 347.9 MB / 0.9744 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/1.351, allocations: 89.03 kB / 0.9745 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04499/1.396, allocations: 10.37 MB / 0.9847 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.094e-06/1.396, allocations: 0 / 0.9847 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.297e-05/1.396, allocations: 4 kB / 0.9847 GB, free: 1.047 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001681/1.398, allocations: 0.5746 MB / 0.9852 GB, free: 456 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.398, allocations: 8.031 kB / 0.9852 GB, free: 448 kB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.202e-05/1.398, allocations: 46.11 kB / 0.9853 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/1.398, allocations: 23.72 kB / 0.9853 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009566/1.399, allocations: 273.5 kB / 0.9856 GB, free: 72 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/1.399, allocations: 11.38 kB / 0.9856 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/1.399, allocations: 7.812 kB / 0.9856 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/1.4, allocations: 126.4 kB / 0.9857 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.4, allocations: 0 / 0.9857 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/1.4, allocations: 3.125 kB / 0.9857 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.4, allocations: 8 kB / 0.9857 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/1.4, allocations: 87.55 kB / 0.9858 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/1.401, allocations: 0.4897 MB / 0.9863 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/1.402, allocations: 80.17 kB / 0.9863 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/1.402, allocations: 65.75 kB / 0.9864 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.403, allocations: 0.5177 MB / 0.9869 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.403, allocations: 30.56 kB / 0.9869 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 3.416e-06/1.403, allocations: 0 / 0.9869 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0006399/1.404, allocations: 161.9 kB / 0.9871 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.404, allocations: 51.41 kB / 0.9871 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/1.404, allocations: 201.4 kB / 0.9873 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/1.404, allocations: 28.7 kB / 0.9874 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.404, allocations: 139.3 kB / 0.9875 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/1.404, allocations: 35.02 kB / 0.9875 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/1.404, allocations: 3.25 kB / 0.9875 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.404, allocations: 330.3 kB / 0.9879 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/1.405, allocations: 55.45 kB / 0.9879 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/1.405, allocations: 48.09 kB / 0.9879 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/1.405, allocations: 44.73 kB / 0.988 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.405, allocations: 0 / 0.988 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005429/1.405, allocations: 160.3 kB / 0.9881 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.405, allocations: 4 kB / 0.9881 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.406, allocations: 8 kB / 0.9882 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.406, allocations: 0 / 0.9882 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/1.406, allocations: 55.88 kB / 0.9882 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/1.406, allocations: 7.938 kB / 0.9882 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/1.407, allocations: 43.78 kB / 0.9883 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/1.407, allocations: 7.984 kB / 0.9883 GB, free: 13.45 MB / 0.7448 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 (11): * Single equations (assignments): 11 * 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 0.0001092/1.407, allocations: 104.8 kB / 0.9884 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/1.407, allocations: 31.67 kB / 0.9884 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/1.408, allocations: 187.7 kB / 0.9886 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.408, allocations: 0 / 0.9886 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.408, allocations: 0 / 0.9886 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.408, allocations: 4 kB / 0.9886 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/1.408, allocations: 269.2 kB / 0.9888 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.408, allocations: 0 / 0.9888 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/1.409, allocations: 55.94 kB / 0.9889 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/1.409, allocations: 11.92 kB / 0.9889 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/1.409, allocations: 15.25 kB / 0.9889 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.409, allocations: 0 / 0.9889 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.409, allocations: 0 / 0.9889 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/1.409, allocations: 258.3 kB / 0.9892 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/1.41, allocations: 115.4 kB / 0.9893 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/1.41, allocations: 4 kB / 0.9893 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/1.41, allocations: 39.48 kB / 0.9893 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.41, allocations: 15.97 kB / 0.9893 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/1.41, allocations: 7.609 kB / 0.9893 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002217/1.41, allocations: 168.4 kB / 0.9895 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.21e-07/1.41, allocations: 0 / 0.9895 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004971/1.411, allocations: 66.94 kB / 0.9896 GB, free: 12.2 MB / 0.7448 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 (11): * Single equations (assignments): 11 * 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.001197/1.412, allocations: 0.8737 MB / 0.9904 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004855/1.413, allocations: 120 kB / 0.9905 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.413, allocations: 0 / 0.9905 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/1.413, allocations: 71.78 kB / 0.9906 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/1.413, allocations: 27.62 kB / 0.9906 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/1.415, allocations: 313.9 kB / 0.9909 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/1.415, allocations: 0.7433 MB / 0.9916 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003465/1.415, allocations: 36.84 kB / 0.9917 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/1.416, allocations: 75.52 kB / 0.9918 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of SimCode: time 1.223e-06/1.416, allocations: 0 / 0.9918 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/1.457, allocations: 5.426 MB / 0.9971 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003376/1.458, allocations: 182.5 kB / 0.9972 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.975, allocations: 0 / 0.9972 GB, free: 4.488 MB / 0.7448 GB