Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.108/4.108, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5663/4.674, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/4.92, allocations: 98.72 MB / 0.6283 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.401/11.32, allocations: 2.521 GB / 3.149 GB, free: 103.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/11.32, allocations: 102.8 kB / 3.149 GB, free: 103.2 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2033 * Number of variables: 2033 Notification: Performance of Generate backend data structure: time 12.93/24.25, allocations: 2.449 GB / 5.598 GB, free: 63.83 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/24.25, allocations: 10.12 kB / 5.598 GB, free: 63.83 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02451/24.28, allocations: 2.349 MB / 5.6 GB, free: 63.25 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05863/24.34, allocations: 11.78 MB / 5.612 GB, free: 62.02 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005797/24.34, allocations: 253.7 kB / 5.612 GB, free: 62.02 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003934/24.34, allocations: 484 kB / 5.613 GB, free: 62.02 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03369/24.37, allocations: 9.369 MB / 5.622 GB, free: 61.99 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05169/24.43, allocations: 9.664 MB / 5.631 GB, free: 60.94 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007493/24.43, allocations: 24.59 kB / 5.631 GB, free: 60.94 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004276/24.43, allocations: 13.31 kB / 5.631 GB, free: 60.94 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003753/24.43, allocations: 345.1 kB / 5.632 GB, free: 60.92 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1179/24.55, allocations: 44.5 MB / 5.675 GB, free: 43.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/24.57, allocations: 6.763 MB / 5.682 GB, free: 43.21 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/24.58, allocations: 3.674 MB / 5.685 GB, free: 43.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07786/24.66, allocations: 17.68 MB / 5.703 GB, free: 38.57 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01204/24.67, allocations: 3.148 MB / 5.706 GB, free: 38.46 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=505): time 1.046e-05/24.67, allocations: 0 / 5.706 GB, free: 38.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=505): time 0.0371/24.71, allocations: 7.213 MB / 5.713 GB, free: 37.96 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/24.71, allocations: 342.5 kB / 5.713 GB, free: 37.61 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02517/24.73, allocations: 6.409 MB / 5.719 GB, free: 37.16 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001728/24.73, allocations: 34.14 kB / 5.719 GB, free: 37.13 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006306/24.74, allocations: 3.003 MB / 5.722 GB, free: 35.52 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005082/24.75, allocations: 1.677 MB / 5.724 GB, free: 34.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008549/24.75, allocations: 0 / 5.724 GB, free: 34.41 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0005252/24.75, allocations: 0.5612 MB / 5.724 GB, free: 34.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008681/24.76, allocations: 3.112 MB / 5.727 GB, free: 34.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/24.77, allocations: 4.783 MB / 5.732 GB, free: 32.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0383/24.81, allocations: 6.023 MB / 5.738 GB, free: 32.09 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.632e-05/24.81, allocations: 13.97 kB / 5.738 GB, free: 32.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.0579/24.86, allocations: 10.72 MB / 5.748 GB, free: 31.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006721/24.87, allocations: 23.03 MB / 5.771 GB, free: 23.57 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002564/24.87, allocations: 53.44 kB / 5.771 GB, free: 23.57 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007379/24.87, allocations: 163.1 kB / 5.771 GB, free: 23.56 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01746/24.89, allocations: 1.688 MB / 5.773 GB, free: 23.56 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/24.89, allocations: 0.747 MB / 5.774 GB, free: 23.04 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01735/24.91, allocations: 0.907 MB / 5.774 GB, free: 22.69 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002629/24.91, allocations: 314.9 kB / 5.775 GB, free: 22.69 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/24.91, allocations: 3.094 kB / 5.775 GB, free: 22.69 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05805/24.97, allocations: 9.922 MB / 5.784 GB, free: 22.52 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/24.97, allocations: 45.34 kB / 5.784 GB, free: 22.52 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/24.97, allocations: 163.6 kB / 5.785 GB, free: 22.51 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01647/24.99, allocations: 1.687 MB / 5.786 GB, free: 22.51 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/24.99, allocations: 0.7423 MB / 5.787 GB, free: 21.99 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01559/25, allocations: 0.7914 MB / 5.788 GB, free: 21.73 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002449/25.01, allocations: 311.6 kB / 5.788 GB, free: 21.73 MB / 0.9324 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 815 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003688/25.01, allocations: 280.6 kB / 5.788 GB, free: 21.59 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003703/25.01, allocations: 0.7188 MB / 5.789 GB, free: 21.21 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05293/25.07, allocations: 8.447 MB / 5.797 GB, free: 20.88 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001063/25.07, allocations: 53.25 kB / 5.797 GB, free: 20.88 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.998e-05/25.07, allocations: 2.656 kB / 5.797 GB, free: 20.88 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04553/25.11, allocations: 6.737 MB / 5.804 GB, free: 20.46 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07995/25.19, allocations: 16.62 MB / 5.82 GB, free: 19.69 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/25.19, allocations: 0 / 5.82 GB, free: 19.69 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0135/25.21, allocations: 1.166 MB / 5.821 GB, free: 19.69 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/25.21, allocations: 93.28 kB / 5.821 GB, free: 19.68 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00161/25.21, allocations: 92.41 kB / 5.821 GB, free: 19.68 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/25.21, allocations: 0.6528 MB / 5.822 GB, free: 19.16 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/25.21, allocations: 3.469 kB / 5.822 GB, free: 19.16 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04918/25.26, allocations: 11.84 MB / 5.834 GB, free: 18.26 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08536/25.34, allocations: 16.61 MB / 5.85 GB, free: 16 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01122/25.35, allocations: 1.91 MB / 5.852 GB, free: 14.92 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004932/25.36, allocations: 23.55 kB / 5.852 GB, free: 14.91 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01449/25.37, allocations: 477.3 kB / 5.852 GB, free: 14.88 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001673/25.38, allocations: 273.7 kB / 5.852 GB, free: 14.84 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001093/25.38, allocations: 182.9 kB / 5.853 GB, free: 14.8 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.01683/25.39, allocations: 4.878 MB / 5.857 GB, free: 12.09 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.0387/25.43, allocations: 5.695 MB / 5.863 GB, free: 6.426 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (527): * Single equations (assignments): 517 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007551/25.44, allocations: 2.249 MB / 5.865 GB, free: 4.82 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.04268/25.48, allocations: 12.13 MB / 5.877 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/25.48, allocations: 3.281 kB / 5.877 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009922/25.49, allocations: 3.191 MB / 5.88 GB, free: 8.176 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03244/25.53, allocations: 3.361 MB / 5.883 GB, free: 5.859 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06856/25.59, allocations: 17.07 MB / 5.9 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02167/25.62, allocations: 7.071 MB / 5.907 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of SimCode: time 1.874e-06/25.62, allocations: 0 / 5.907 GB, free: 1.832 MB / 0.9636 GB