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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.051/4.051, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.322e-05, allocations: 5.812 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2256, allocations: 98.73 MB / 0.6289 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.352, allocations: 346.8 MB / 0.9676 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/1.352, allocations: 84.39 kB / 0.9677 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03719/1.39, allocations: 9.206 MB / 0.9767 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.606e-06/1.39, allocations: 7.938 kB / 0.9767 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.356e-05/1.39, allocations: 4.656 kB / 0.9767 GB, free: 13.85 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.0009523/1.391, allocations: 464.3 kB / 0.9771 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.391, allocations: 12.03 kB / 0.9771 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.361e-05/1.391, allocations: 19.72 kB / 0.9772 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/1.391, allocations: 245.1 kB / 0.9774 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.391, allocations: 0 / 0.9774 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/1.391, allocations: 4 kB / 0.9774 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002212/1.392, allocations: 70.41 kB / 0.9775 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/1.392, allocations: 112.6 kB / 0.9776 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.392, allocations: 3.953 kB / 0.9776 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/1.392, allocations: 0 / 0.9776 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/1.392, allocations: 15.98 kB / 0.9776 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/1.393, allocations: 426.7 kB / 0.978 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/1.393, allocations: 137 kB / 0.9781 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/1.394, allocations: 75.89 kB / 0.9782 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/1.394, allocations: 7.953 kB / 0.9782 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.394, allocations: 38.33 kB / 0.9782 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/1.394, allocations: 0 / 0.9782 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0008381/1.395, allocations: 195.8 kB / 0.9784 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/1.395, allocations: 51.41 kB / 0.9785 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/1.395, allocations: 186.9 kB / 0.9787 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/1.395, allocations: 25.7 kB / 0.9787 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.395, allocations: 118.9 kB / 0.9788 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/1.395, allocations: 43.23 kB / 0.9788 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/1.395, allocations: 0 / 0.9788 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.395, allocations: 326.5 kB / 0.9791 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/1.395, allocations: 51.34 kB / 0.9792 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/1.396, allocations: 47.3 kB / 0.9792 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/1.396, allocations: 93.53 kB / 0.9793 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.396, allocations: 0 / 0.9793 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007295/1.397, allocations: 192.1 kB / 0.9795 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.397, allocations: 8.781 kB / 0.9795 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.397, allocations: 3.953 kB / 0.9795 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.397, allocations: 0 / 0.9795 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/1.397, allocations: 39.84 kB / 0.9796 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.397, allocations: 0 / 0.9796 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/1.398, allocations: 27.83 kB / 0.9796 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/1.398, allocations: 7.984 kB / 0.9796 GB, free: 11.05 MB / 0.7292 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.0001055/1.398, allocations: 104.9 kB / 0.9797 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009228/1.399, allocations: 191.4 kB / 0.9799 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/1.399, allocations: 27.67 kB / 0.9799 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/1.399, allocations: 29.58 kB / 0.9799 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.399, allocations: 4 kB / 0.9799 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/1.399, allocations: 0 / 0.9799 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.399, allocations: 0 / 0.9799 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/1.4, allocations: 232.7 kB / 0.9802 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.4, allocations: 0 / 0.9802 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/1.4, allocations: 35.97 kB / 0.9802 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/1.4, allocations: 4 kB / 0.9802 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/1.4, allocations: 7.938 kB / 0.9802 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/1.4, allocations: 7.938 kB / 0.9802 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.4, allocations: 3.938 kB / 0.9802 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/1.401, allocations: 294.3 kB / 0.9805 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/1.401, allocations: 116 kB / 0.9806 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/1.401, allocations: 0 / 0.9806 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/1.402, allocations: 19.94 kB / 0.9806 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/1.402, allocations: 11.98 kB / 0.9806 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/1.402, allocations: 4 kB / 0.9806 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001776/1.402, allocations: 147.1 kB / 0.9808 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/1.402, allocations: 0 / 0.9808 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004127/1.402, allocations: 32 kB / 0.9808 GB, free: 9.855 MB / 0.7292 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.001346/1.404, allocations: 0.9009 MB / 0.9817 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003861/1.404, allocations: 114.2 kB / 0.9818 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.404, allocations: 3.938 kB / 0.9818 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/1.404, allocations: 69.16 kB / 0.9819 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/1.405, allocations: 24.31 kB / 0.9819 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.406, allocations: 291 kB / 0.9822 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/1.406, allocations: 0.7352 MB / 0.9829 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003287/1.407, allocations: 56.67 kB / 0.9829 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/1.407, allocations: 55.84 kB / 0.983 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of SimCode: time 7.82e-07/1.407, allocations: 0 / 0.983 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05124/1.458, allocations: 3.627 MB / 0.9865 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003022/1.458, allocations: 168.1 kB / 0.9867 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.934, allocations: 3.938 kB / 0.9867 GB, free: 3.891 MB / 0.7292 GB