Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.Validation.FlatPlate,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",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 3.946/3.946, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5168/4.463, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/4.701, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.326/11.03, allocations: 2.468 GB / 3.096 GB, free: 184.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/11.03, allocations: 90.89 kB / 3.096 GB, free: 184.1 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2327 * Number of variables: 2327 Notification: Performance of Generate backend data structure: time 10.78/21.8, allocations: 2.042 GB / 5.138 GB, free: 68.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/21.8, allocations: 9 kB / 5.138 GB, free: 68.75 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0253/21.83, allocations: 2.273 MB / 5.14 GB, free: 67.66 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06503/21.89, allocations: 14.7 MB / 5.154 GB, free: 55.78 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006203/21.9, allocations: 284 kB / 5.155 GB, free: 55.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004453/21.9, allocations: 0.5077 MB / 5.155 GB, free: 55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04857/21.95, allocations: 10.59 MB / 5.165 GB, free: 44.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05948/22.01, allocations: 11.45 MB / 5.177 GB, free: 32.51 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008342/22.01, allocations: 39.7 kB / 5.177 GB, free: 32.47 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00479/22.01, allocations: 16 kB / 5.177 GB, free: 32.46 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007199/22.01, allocations: 472.9 kB / 5.177 GB, free: 31.99 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7919/22.81, allocations: 49.26 MB / 5.225 GB, free: 182.9 MB / 0.8543 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/22.83, allocations: 7.093 MB / 5.232 GB, free: 182.8 MB / 0.8543 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01109/22.84, allocations: 4.034 MB / 5.236 GB, free: 182.7 MB / 0.8543 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003013/22.84, allocations: 1.508 MB / 5.238 GB, free: 181.2 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01193/22.85, allocations: 3.639 MB / 5.241 GB, free: 181 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=551): time 1.28e-05/22.85, allocations: 0 / 5.241 GB, free: 181 MB / 0.8543 GB Notification: Performance of matching and sorting (n=551): time 0.04134/22.89, allocations: 8.159 MB / 5.249 GB, free: 180.8 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/22.89, allocations: 323.8 kB / 5.249 GB, free: 180.5 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02485/22.92, allocations: 7.835 MB / 5.257 GB, free: 180.1 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.001894/22.92, allocations: 32.92 kB / 5.257 GB, free: 180.1 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.01147/22.93, allocations: 3.444 MB / 5.26 GB, free: 179.1 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.01129/22.94, allocations: 1.843 MB / 5.262 GB, free: 178.1 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001776/22.95, allocations: 2.938 kB / 5.262 GB, free: 178.1 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0008792/22.95, allocations: 0.5864 MB / 5.263 GB, free: 177.8 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/22.96, allocations: 3.301 MB / 5.266 GB, free: 177.8 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01235/22.97, allocations: 5.124 MB / 5.271 GB, free: 175.7 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03904/23.01, allocations: 6.18 MB / 5.277 GB, free: 175.6 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.716e-05/23.01, allocations: 17.84 kB / 5.277 GB, free: 175.6 MB / 0.8543 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.05753/23.07, allocations: 11.02 MB / 5.288 GB, free: 175 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.006276/23.07, allocations: 27.29 MB / 5.315 GB, free: 146.3 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002674/23.07, allocations: 54.56 kB / 5.315 GB, free: 146.3 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/23.07, allocations: 95.62 kB / 5.315 GB, free: 146.3 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01838/23.09, allocations: 1.852 MB / 5.316 GB, free: 146.3 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001869/23.09, allocations: 125.6 kB / 5.317 GB, free: 146.3 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01994/23.11, allocations: 0.9918 MB / 5.318 GB, free: 146.1 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002693/23.11, allocations: 333.1 kB / 5.318 GB, free: 146.1 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/23.11, allocations: 8.438 kB / 5.318 GB, free: 146.1 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05387/23.17, allocations: 10.21 MB / 5.328 GB, free: 145.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/23.17, allocations: 54.19 kB / 5.328 GB, free: 145.9 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/23.17, allocations: 94.22 kB / 5.328 GB, free: 145.9 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01838/23.19, allocations: 1.852 MB / 5.33 GB, free: 145.9 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001709/23.19, allocations: 124.5 kB / 5.33 GB, free: 145.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01872/23.21, allocations: 0.8629 MB / 5.331 GB, free: 145.6 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002541/23.21, allocations: 335.2 kB / 5.331 GB, free: 145.6 MB / 0.8543 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (869): * Single equations (assignments): 866 * Array equations: 0 * Algorithm blocks: 3 * 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.004033/23.21, allocations: 307.7 kB / 5.331 GB, free: 145.5 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004697/23.22, allocations: 0.7971 MB / 5.332 GB, free: 145.1 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04708/23.26, allocations: 9.349 MB / 5.341 GB, free: 144.8 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.4e-05/23.26, allocations: 57 kB / 5.341 GB, free: 144.8 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/23.26, allocations: 1.594 kB / 5.341 GB, free: 144.8 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03472/23.3, allocations: 7.505 MB / 5.349 GB, free: 144.5 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0787/23.38, allocations: 19.34 MB / 5.368 GB, free: 143.4 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/23.38, allocations: 0 / 5.368 GB, free: 143.4 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01546/23.39, allocations: 1.312 MB / 5.369 GB, free: 143.4 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/23.39, allocations: 17.69 kB / 5.369 GB, free: 143.4 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001715/23.4, allocations: 127.2 kB / 5.369 GB, free: 143.4 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.285e-05/23.4, allocations: 18.28 kB / 5.369 GB, free: 143.4 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/23.4, allocations: 0 / 5.369 GB, free: 143.4 MB / 0.8543 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05176/23.45, allocations: 13.18 MB / 5.382 GB, free: 142.5 MB / 0.8543 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06206/23.51, allocations: 18.39 MB / 5.4 GB, free: 141.2 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0104/23.52, allocations: 2.251 MB / 5.402 GB, free: 140.1 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005175/23.53, allocations: 39.08 kB / 5.402 GB, free: 140.1 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01679/23.54, allocations: 0.593 MB / 5.403 GB, free: 140 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001788/23.54, allocations: 289.9 kB / 5.403 GB, free: 140 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001656/23.55, allocations: 207.2 kB / 5.403 GB, free: 139.9 MB / 0.8543 GB Notification: Performance of sort global known variables: time 0.01776/23.56, allocations: 6.011 MB / 5.409 GB, free: 137.7 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.03275/23.6, allocations: 5.589 MB / 5.414 GB, free: 136.6 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (567): * Single equations (assignments): 561 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * 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.00497/23.6, allocations: 1.187 MB / 5.416 GB, free: 136.4 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.03497/23.64, allocations: 12.75 MB / 5.428 GB, free: 132.2 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/23.64, allocations: 6.188 kB / 5.428 GB, free: 132.2 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.01066/23.65, allocations: 3.528 MB / 5.432 GB, free: 131.1 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0414/23.69, allocations: 4.468 MB / 5.436 GB, free: 130.3 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08225/23.77, allocations: 19.88 MB / 5.455 GB, free: 124.4 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03008/23.8, allocations: 8.127 MB / 5.463 GB, free: 119 MB / 0.8543 GB Notification: Performance of SimCode: time 1.703e-06/23.8, allocations: 0 / 5.463 GB, free: 119 MB / 0.8543 GB