Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.01457/0.01457, allocations: 89.66 kB / 15.04 MB, free: 6.059 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.001792/0.001792, allocations: 167.3 kB / 15.92 MB, free: 5.996 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.202/2.202, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.368/2.368, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.000497, allocations: 17.16 kB / 0.6243 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2396, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002883/0.2425, allocations: 1.238 MB / 0.7293 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000164/0.2428, allocations: 35.86 kB / 0.7293 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.2428, allocations: 0 / 0.7293 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.243, allocations: 7.922 kB / 0.7293 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.2431, allocations: 7.984 kB / 0.7293 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.2432, allocations: 15.98 kB / 0.7293 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.2434, allocations: 31.95 kB / 0.7294 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.2436, allocations: 27.98 kB / 0.7294 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.2436, allocations: 11.92 kB / 0.7294 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.804e-05/0.2437, allocations: 23.86 kB / 0.7294 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.2438, allocations: 4 kB / 0.7294 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.2438, allocations: 0 / 0.7294 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.2439, allocations: 15.97 kB / 0.7295 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.2439, allocations: 41.58 kB / 0.7295 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.2441, allocations: 35.94 kB / 0.7295 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2441, allocations: 0 / 0.7295 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2441, allocations: 0 / 0.7295 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.2441, allocations: 0 / 0.7295 GB, free: 8.637 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005345/0.2447, allocations: 355.5 kB / 0.7299 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.2447, allocations: 12.03 kB / 0.7299 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.2448, allocations: 34.56 kB / 0.7299 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.2449, allocations: 11.86 kB / 0.7299 GB, free: 8.176 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2451, allocations: 183 kB / 0.7301 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2452, allocations: 11.94 kB / 0.7301 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.2452, allocations: 4 kB / 0.7301 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.2455, allocations: 97.72 kB / 0.7302 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2456, allocations: 0 / 0.7302 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.2456, allocations: 8 kB / 0.7302 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2456, allocations: 3.984 kB / 0.7302 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.2458, allocations: 51.86 kB / 0.7303 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.2469, allocations: 0.6401 MB / 0.7309 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.247, allocations: 169.1 kB / 0.731 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.2471, allocations: 79.22 kB / 0.7311 GB, free: 6.816 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.015e-05/0.2472, allocations: 113.8 kB / 0.7312 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.2472, allocations: 3.938 kB / 0.7312 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001135/0.2473, allocations: 33.61 kB / 0.7313 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.2475, allocations: 130.7 kB / 0.7314 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.2478, allocations: 168.1 kB / 0.7316 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2478, allocations: 25.7 kB / 0.7316 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2479, allocations: 100 kB / 0.7317 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.248, allocations: 0 / 0.7317 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.248, allocations: 0 / 0.7317 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.2482, allocations: 326.8 kB / 0.732 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.2482, allocations: 0 / 0.732 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.2483, allocations: 30.5 kB / 0.732 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.2483, allocations: 8 kB / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2483, allocations: 0 / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002151/0.2486, allocations: 57.55 kB / 0.7321 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.2486, allocations: 8 kB / 0.7321 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2486, allocations: 0 / 0.7321 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2487, allocations: 3.984 kB / 0.7321 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2488, allocations: 4 kB / 0.7321 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2488, allocations: 8.094 kB / 0.7321 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.2489, allocations: 11.84 kB / 0.7321 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2489, allocations: 4 kB / 0.7321 GB, free: 5.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 0.000164/0.2491, allocations: 189.1 kB / 0.7323 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.2492, allocations: 120.8 kB / 0.7324 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/0.2493, allocations: 108.9 kB / 0.7325 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-05/0.2494, allocations: 180.2 kB / 0.7327 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/0.2496, allocations: 181 kB / 0.7329 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/0.2497, allocations: 184.2 kB / 0.733 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.2501, allocations: 429.1 kB / 0.7334 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.062e-05/0.2502, allocations: 101 kB / 0.7335 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.2503, allocations: 108.9 kB / 0.7336 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.2504, allocations: 184.4 kB / 0.7338 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-05/0.2505, allocations: 180.2 kB / 0.734 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-05/0.2506, allocations: 184.3 kB / 0.7342 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.993e-05/0.2507, allocations: 184.3 kB / 0.7343 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.2509, allocations: 319.6 kB / 0.7346 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.2511, allocations: 190 kB / 0.7348 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.2512, allocations: 188.1 kB / 0.735 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.2515, allocations: 101 kB / 0.7351 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.2516, allocations: 180.2 kB / 0.7353 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.2517, allocations: 105 kB / 0.7354 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002299/0.2519, allocations: 129.3 kB / 0.7355 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2519, allocations: 0 / 0.7355 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005283/0.2525, allocations: 8 kB / 0.7355 GB, free: 2.031 MB / 0.5573 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 (0): * Single equations (assignments): 0 * 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.000618/0.2531, allocations: 0.8164 MB / 0.7363 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.2532, allocations: 16 kB / 0.7363 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2532, allocations: 0 / 0.7363 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.2533, allocations: 0 / 0.7363 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.2538, allocations: 0.5301 MB / 0.7368 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2556, allocations: 0.9279 MB / 0.7377 GB, free: 15.64 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.256, allocations: 0.6965 MB / 0.7384 GB, free: 14.92 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.2561, allocations: 7.984 kB / 0.7384 GB, free: 14.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.2562, allocations: 19.44 kB / 0.7385 GB, free: 14.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/0.2562, allocations: 0 / 0.7385 GB, free: 14.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.282, allocations: 1.45 MB / 0.7399 GB, free: 13.55 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000336/0.2824, allocations: 199.6 kB / 0.7401 GB, free: 13.31 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/2.744, allocations: 0 / 0.7401 GB, free: 13.31 MB / 0.573 GB