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.FlatPlateTotalArea.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.FlatPlateTotalArea,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",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.232/4.232, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5614/4.794, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/5.032, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.362/11.39, allocations: 2.468 GB / 3.096 GB, free: 185.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/11.39, allocations: 96.81 kB / 3.096 GB, free: 185.5 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: 2941 * Number of variables: 2941 Notification: Performance of Generate backend data structure: time 13.67/25.06, allocations: 2.756 GB / 5.853 GB, free: 25.86 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/25.06, allocations: 8 kB / 5.853 GB, free: 25.85 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03884/25.1, allocations: 3.355 MB / 5.856 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08048/25.18, allocations: 18.11 MB / 5.874 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007434/25.18, allocations: 360 kB / 5.874 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005738/25.19, allocations: 0.6404 MB / 5.875 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.8758/26.07, allocations: 13.21 MB / 5.887 GB, free: 150.7 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06267/26.13, allocations: 14.33 MB / 5.901 GB, free: 149.1 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008935/26.13, allocations: 39.19 kB / 5.902 GB, free: 149.1 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005052/26.14, allocations: 18.28 kB / 5.902 GB, free: 149.1 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006351/26.14, allocations: 0.5755 MB / 5.902 GB, free: 149.1 MB / 0.8699 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2135/26.35, allocations: 62.29 MB / 5.963 GB, free: 126.4 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02697/26.38, allocations: 8.852 MB / 5.972 GB, free: 126.2 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01668/26.39, allocations: 5.058 MB / 5.977 GB, free: 126.1 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005919/26.4, allocations: 2.225 MB / 5.979 GB, free: 123.9 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02197/26.42, allocations: 4.903 MB / 5.983 GB, free: 123.7 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=699): time 1.535e-05/26.42, allocations: 2.281 kB / 5.983 GB, free: 123.7 MB / 0.8699 GB Notification: Performance of matching and sorting (n=699): time 0.06728/26.49, allocations: 10.66 MB / 5.994 GB, free: 123 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/26.49, allocations: 337.1 kB / 5.994 GB, free: 122.6 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03064/26.52, allocations: 9.672 MB / 6.004 GB, free: 122.1 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.003085/26.52, allocations: 32.8 kB / 6.004 GB, free: 122 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.02043/26.54, allocations: 4.319 MB / 6.008 GB, free: 120.2 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.01391/26.56, allocations: 2.34 MB / 6.01 GB, free: 118.7 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002372/26.56, allocations: 3.094 kB / 6.01 GB, free: 118.7 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.001121/26.56, allocations: 0.6555 MB / 6.011 GB, free: 118.3 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01326/26.57, allocations: 4.162 MB / 6.015 GB, free: 118.3 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01935/26.59, allocations: 6.367 MB / 6.021 GB, free: 115.8 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0905/26.68, allocations: 8.445 MB / 6.029 GB, free: 115.7 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/26.68, allocations: 20.12 kB / 6.029 GB, free: 115.7 MB / 0.8699 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.09354/26.78, allocations: 14.62 MB / 6.044 GB, free: 115 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 0.007415/26.78, allocations: 35.29 MB / 6.078 GB, free: 78.14 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003489/26.79, allocations: 65.56 kB / 6.078 GB, free: 78.14 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/26.79, allocations: 198.9 kB / 6.078 GB, free: 78.14 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02857/26.82, allocations: 2.37 MB / 6.081 GB, free: 78.14 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/26.82, allocations: 1.608 MB / 6.082 GB, free: 76.91 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02509/26.84, allocations: 1.284 MB / 6.084 GB, free: 76.44 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003129/26.85, allocations: 427.5 kB / 6.084 GB, free: 76.44 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/26.85, allocations: 3.938 kB / 6.084 GB, free: 76.44 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08528/26.93, allocations: 13.59 MB / 6.097 GB, free: 76.27 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002837/26.93, allocations: 63.5 kB / 6.097 GB, free: 76.27 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/26.93, allocations: 198.7 kB / 6.097 GB, free: 76.26 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0242/26.96, allocations: 2.37 MB / 6.1 GB, free: 76.26 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/26.96, allocations: 1.606 MB / 6.101 GB, free: 75.02 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0238/26.99, allocations: 1.116 MB / 6.102 GB, free: 74.66 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003255/26.99, allocations: 426.5 kB / 6.103 GB, free: 74.66 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1097): * Single equations (assignments): 1094 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.005458/26.99, allocations: 336.7 kB / 6.103 GB, free: 74.4 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005401/27, allocations: 0.999 MB / 6.104 GB, free: 73.88 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06754/27.07, allocations: 12.36 MB / 6.116 GB, free: 73.49 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001152/27.07, allocations: 71 kB / 6.116 GB, free: 73.49 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/27.07, allocations: 0 / 6.116 GB, free: 73.49 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05721/27.12, allocations: 10.08 MB / 6.126 GB, free: 72.96 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1165/27.24, allocations: 25.34 MB / 6.151 GB, free: 64.28 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-05/27.24, allocations: 10.59 kB / 6.151 GB, free: 64.28 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03174/27.27, allocations: 1.698 MB / 6.153 GB, free: 64.16 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/27.27, allocations: 120.1 kB / 6.153 GB, free: 64.14 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003002/27.28, allocations: 169.5 kB / 6.153 GB, free: 64.11 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004123/27.28, allocations: 1.513 MB / 6.154 GB, free: 62.77 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.351e-05/27.28, allocations: 21 kB / 6.154 GB, free: 62.76 MB / 0.8699 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1034/27.39, allocations: 19.55 MB / 6.173 GB, free: 53.29 MB / 0.8699 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1148/27.5, allocations: 25.9 MB / 6.199 GB, free: 39.55 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01245/27.51, allocations: 2.819 MB / 6.201 GB, free: 37.14 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007255/27.52, allocations: 53.47 kB / 6.201 GB, free: 37.1 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02678/27.55, allocations: 0.6718 MB / 6.202 GB, free: 36.68 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00242/27.55, allocations: 399.6 kB / 6.203 GB, free: 36.44 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002479/27.55, allocations: 278.4 kB / 6.203 GB, free: 36.21 MB / 0.8699 GB Notification: Performance of sort global known variables: time 0.4764/28.03, allocations: 7.41 MB / 6.21 GB, free: 139.2 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.05155/28.08, allocations: 7.342 MB / 6.217 GB, free: 139.2 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.T) * 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 (717): * Single equations (assignments): 707 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00696/28.09, allocations: 2.046 MB / 6.219 GB, free: 138.9 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.04741/28.13, allocations: 16.15 MB / 6.235 GB, free: 138.4 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 2.992e-05/28.13, allocations: 9.906 kB / 6.235 GB, free: 138.4 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.01937/28.15, allocations: 4.552 MB / 6.239 GB, free: 138.3 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06228/28.22, allocations: 5.517 MB / 6.245 GB, free: 138.2 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1217/28.34, allocations: 25.33 MB / 6.27 GB, free: 133.9 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03436/28.37, allocations: 9.929 MB / 6.279 GB, free: 132.9 MB / 0.8699 GB Notification: Performance of SimCode: time 1.353e-06/28.37, allocations: 0 / 6.279 GB, free: 132.9 MB / 0.8699 GB