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.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.103/4.103, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.428e-05/4.451e-05, allocations: 5.234 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2353, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.358, allocations: 347.5 MB / 0.9741 GB, free: 10 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.358, allocations: 83.88 kB / 0.9741 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03765/1.396, allocations: 9.299 MB / 0.9832 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.894e-06/1.396, allocations: 0 / 0.9832 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.871e-05/1.396, allocations: 4 kB / 0.9832 GB, free: 2.379 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001138/1.397, allocations: 465.5 kB / 0.9837 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.397, allocations: 11.97 kB / 0.9837 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.289e-05/1.397, allocations: 45.5 kB / 0.9837 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/1.397, allocations: 19.72 kB / 0.9837 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/1.398, allocations: 242.9 kB / 0.984 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/1.398, allocations: 4 kB / 0.984 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/1.398, allocations: 4 kB / 0.984 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/1.399, allocations: 110.6 kB / 0.9841 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.399, allocations: 4 kB / 0.9841 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.399, allocations: 3.875 kB / 0.9841 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/1.399, allocations: 15.94 kB / 0.9841 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/1.399, allocations: 91.84 kB / 0.9842 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/1.4, allocations: 463.7 kB / 0.9846 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/1.4, allocations: 137.7 kB / 0.9848 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.401, allocations: 85.84 kB / 0.9849 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/1.401, allocations: 0 / 0.9849 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.401, allocations: 41.95 kB / 0.9849 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.973e-06/1.401, allocations: 0 / 0.9849 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0005828/1.401, allocations: 170.3 kB / 0.9851 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.401, allocations: 58.84 kB / 0.9851 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/1.402, allocations: 186 kB / 0.9853 GB, free: 356 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/1.402, allocations: 29.7 kB / 0.9853 GB, free: 320 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/1.402, allocations: 115.8 kB / 0.9854 GB, free: 228 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/1.402, allocations: 46.78 kB / 0.9855 GB, free: 184 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/1.402, allocations: 3.5 kB / 0.9855 GB, free: 184 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.402, allocations: 325.9 kB / 0.9858 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/1.402, allocations: 58.28 kB / 0.9858 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/1.402, allocations: 46.11 kB / 0.9859 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/1.403, allocations: 62.16 kB / 0.9859 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.403, allocations: 3.984 kB / 0.986 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004739/1.403, allocations: 169.5 kB / 0.9861 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.403, allocations: 8.734 kB / 0.9861 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.403, allocations: 0 / 0.9861 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.403, allocations: 0 / 0.9861 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/1.404, allocations: 39.97 kB / 0.9862 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/1.404, allocations: 7.969 kB / 0.9862 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/1.404, allocations: 23.83 kB / 0.9862 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/1.404, allocations: 4 kB / 0.9862 GB, free: 15.52 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 (13): * Single equations (assignments): 13 * 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.0001116/1.404, allocations: 115 kB / 0.9863 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/1.404, allocations: 15.81 kB / 0.9863 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.981e-05/1.404, allocations: 36.34 kB / 0.9864 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.404, allocations: 0 / 0.9864 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.404, allocations: 4 kB / 0.9864 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/1.404, allocations: 7.938 kB / 0.9864 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/1.405, allocations: 266.2 kB / 0.9866 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.405, allocations: 0 / 0.9866 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/1.405, allocations: 39.66 kB / 0.9867 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.405, allocations: 0 / 0.9867 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/1.405, allocations: 0 / 0.9867 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.405, allocations: 7.953 kB / 0.9867 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.405, allocations: 0 / 0.9867 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/1.406, allocations: 274.4 kB / 0.9869 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/1.406, allocations: 116.3 kB / 0.987 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/1.406, allocations: 7.734 kB / 0.987 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/1.407, allocations: 19.98 kB / 0.9871 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/1.407, allocations: 19.8 kB / 0.9871 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/1.407, allocations: 4 kB / 0.9871 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000192/1.407, allocations: 154.4 kB / 0.9872 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.01e-07/1.407, allocations: 0 / 0.9872 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004072/1.407, allocations: 39.56 kB / 0.9873 GB, free: 14.45 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 (13): * Single equations (assignments): 13 * 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.001007/1.408, allocations: 0.8588 MB / 0.9881 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004313/1.409, allocations: 132.5 kB / 0.9882 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.409, allocations: 0 / 0.9882 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/1.409, allocations: 69.34 kB / 0.9883 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/1.41, allocations: 31.62 kB / 0.9883 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/1.411, allocations: 295 kB / 0.9886 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/1.411, allocations: 0.7355 MB / 0.9893 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000316/1.411, allocations: 48.69 kB / 0.9894 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/1.411, allocations: 52.91 kB / 0.9894 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of SimCode: time 1.633e-06/1.411, allocations: 0 / 0.9894 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/1.437, allocations: 4.67 MB / 0.994 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/1.437, allocations: 181.7 kB / 0.9942 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.88, allocations: 4 kB / 0.9942 GB, free: 7.516 MB / 0.7448 GB