Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01529/0.0153, allocations: 88.58 kB / 15.04 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001934/0.001934, allocations: 170.2 kB / 15.92 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.143/2.143, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.479/2.479, allocations: 252.8 MB / 0.511 GB, free: 8.375 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005154, allocations: 11.22 kB / 0.6243 GB, free: 28.23 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2525, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002746/0.2553, allocations: 1.558 MB / 0.7296 GB, free: 8.605 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.2605, allocations: 3.039 MB / 0.7326 GB, free: 5.555 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.873e-05/0.2607, allocations: 0 / 0.7326 GB, free: 5.555 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.261, allocations: 51.8 kB / 0.7326 GB, free: 5.504 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.2615, allocations: 123.5 kB / 0.7327 GB, free: 5.383 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 8.023e-05/0.2616, allocations: 19.97 kB / 0.7327 GB, free: 5.363 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.2618, allocations: 111.8 kB / 0.7329 GB, free: 5.254 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.262, allocations: 33.66 kB / 0.7329 GB, free: 5.223 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.2622, allocations: 63.7 kB / 0.7329 GB, free: 5.16 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.2624, allocations: 71.69 kB / 0.733 GB, free: 5.09 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.2624, allocations: 4 kB / 0.733 GB, free: 5.086 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.2625, allocations: 27.97 kB / 0.733 GB, free: 5.059 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.2626, allocations: 31.84 kB / 0.7331 GB, free: 5.027 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.2627, allocations: 53.58 kB / 0.7331 GB, free: 4.969 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.2629, allocations: 107.7 kB / 0.7332 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.2629, allocations: 0 / 0.7332 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2629, allocations: 0 / 0.7332 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2629, allocations: 0 / 0.7332 GB, free: 4.863 MB / 0.5574 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.001218/0.2642, allocations: 0.4984 MB / 0.7337 GB, free: 4.316 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2642, allocations: 12.03 kB / 0.7337 GB, free: 4.305 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.273e-05/0.2643, allocations: 38.5 kB / 0.7338 GB, free: 4.258 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.2644, allocations: 23.72 kB / 0.7338 GB, free: 4.234 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.2649, allocations: 233.8 kB / 0.734 GB, free: 3.961 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2649, allocations: 8 kB / 0.734 GB, free: 3.953 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.2649, allocations: 4 kB / 0.734 GB, free: 3.949 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.2655, allocations: 145.6 kB / 0.7342 GB, free: 3.801 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2655, allocations: 0 / 0.7342 GB, free: 3.801 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.2656, allocations: 11.89 kB / 0.7342 GB, free: 3.789 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.2656, allocations: 15.98 kB / 0.7342 GB, free: 3.773 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/0.2664, allocations: 155.9 kB / 0.7343 GB, free: 3.621 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2675, allocations: 460.5 kB / 0.7348 GB, free: 3.121 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007563/0.2683, allocations: 182.4 kB / 0.7349 GB, free: 2.934 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.2683, allocations: 11.91 kB / 0.735 GB, free: 2.922 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2684, allocations: 34.56 kB / 0.735 GB, free: 2.879 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.2684, allocations: 3.938 kB / 0.735 GB, free: 2.875 MB / 0.5574 GB Notification: Performance of matching and sorting (n=13): time 0.001473/0.2698, allocations: 317.6 kB / 0.7353 GB, free: 2.559 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.2699, allocations: 55.41 kB / 0.7354 GB, free: 2.492 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.2702, allocations: 217 kB / 0.7356 GB, free: 2.27 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.2702, allocations: 25.7 kB / 0.7356 GB, free: 2.238 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.2703, allocations: 120.1 kB / 0.7357 GB, free: 2.117 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.2704, allocations: 43.36 kB / 0.7357 GB, free: 2.074 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.2705, allocations: 4 kB / 0.7357 GB, free: 2.07 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2706, allocations: 330.8 kB / 0.7361 GB, free: 1.738 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/0.2711, allocations: 87.92 kB / 0.7361 GB, free: 1.652 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.2715, allocations: 79.94 kB / 0.7362 GB, free: 1.574 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.2719, allocations: 87.94 kB / 0.7363 GB, free: 1.488 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.272, allocations: 0 / 0.7363 GB, free: 1.488 MB / 0.5574 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009682/0.2729, allocations: 234.1 kB / 0.7365 GB, free: 1.254 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.273, allocations: 4 kB / 0.7365 GB, free: 1.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.273, allocations: 0 / 0.7365 GB, free: 1.25 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.273, allocations: 0 / 0.7365 GB, free: 1.25 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.2735, allocations: 47.91 kB / 0.7366 GB, free: 1.203 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2735, allocations: 4 kB / 0.7366 GB, free: 1.199 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.2738, allocations: 27.83 kB / 0.7366 GB, free: 1.172 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.2739, allocations: 3.984 kB / 0.7366 GB, free: 1.168 MB / 0.5574 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 (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.0001543/0.274, allocations: 125.8 kB / 0.7367 GB, free: 1.035 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.2741, allocations: 27.75 kB / 0.7368 GB, free: 1.008 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.2742, allocations: 25.84 kB / 0.7368 GB, free: 0.9766 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2742, allocations: 0 / 0.7368 GB, free: 0.9766 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2742, allocations: 0 / 0.7368 GB, free: 0.9766 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2742, allocations: 7.984 kB / 0.7368 GB, free: 0.9688 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.2746, allocations: 261.4 kB / 0.737 GB, free: 0.6641 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2747, allocations: 0 / 0.737 GB, free: 0.6641 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.2751, allocations: 39.91 kB / 0.7371 GB, free: 0.625 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2751, allocations: 4 kB / 0.7371 GB, free: 0.6211 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.2751, allocations: 11.94 kB / 0.7371 GB, free: 0.6094 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2752, allocations: 0 / 0.7371 GB, free: 0.6094 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2752, allocations: 0 / 0.7371 GB, free: 0.6094 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.2762, allocations: 327.4 kB / 0.7374 GB, free: 280 kB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.2764, allocations: 120.7 kB / 0.7375 GB, free: 140 kB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.2764, allocations: 3.938 kB / 0.7375 GB, free: 136 kB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.2768, allocations: 27.94 kB / 0.7375 GB, free: 108 kB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.2769, allocations: 7.984 kB / 0.7376 GB, free: 100 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.2769, allocations: 7.984 kB / 0.7376 GB, free: 92 kB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0002156/0.2772, allocations: 156.4 kB / 0.7377 GB, free: 15.94 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2772, allocations: 0 / 0.7377 GB, free: 15.94 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000387/0.2776, allocations: 40 kB / 0.7377 GB, free: 15.9 MB / 0.573 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 (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.00142/0.279, allocations: 0.8723 MB / 0.7386 GB, free: 15 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009847/0.28, allocations: 187.8 kB / 0.7388 GB, free: 14.82 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.28, allocations: 0 / 0.7388 GB, free: 14.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.2805, allocations: 103.9 kB / 0.7389 GB, free: 14.72 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.281, allocations: 32.38 kB / 0.7389 GB, free: 14.69 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.2846, allocations: 1.309 MB / 0.7402 GB, free: 13.34 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.285, allocations: 0.743 MB / 0.7409 GB, free: 12.57 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003156/0.2853, allocations: 48.59 kB / 0.741 GB, free: 12.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.2855, allocations: 47.41 kB / 0.741 GB, free: 12.48 MB / 0.573 GB Notification: Performance of SimCode: time 1.062e-06/0.2855, allocations: 0 / 0.741 GB, free: 12.48 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09281/0.3783, allocations: 3.495 MB / 0.7444 GB, free: 9.113 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003038/0.3787, allocations: 206.9 kB / 0.7446 GB, free: 8.871 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.001, allocations: 3.938 kB / 0.7446 GB, free: 8.867 MB / 0.573 GB