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.EN12975NPanels.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.EN12975NPanels,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",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.12/4.12, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5461/4.666, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/4.956, allocations: 98.73 MB / 0.6283 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.156/11.11, allocations: 2.466 GB / 3.095 GB, free: 187.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/11.11, allocations: 95.69 kB / 3.095 GB, free: 187.6 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: 4478 * Number of variables: 4478 Notification: Performance of Generate backend data structure: time 20.59/31.71, allocations: 4.046 GB / 7.141 GB, free: 29.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/31.71, allocations: 8 kB / 7.141 GB, free: 29.47 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03929/31.74, allocations: 3.992 MB / 7.145 GB, free: 25.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.03/32.78, allocations: 28.71 MB / 7.173 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001314/32.78, allocations: 0.5249 MB / 7.173 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009277/32.79, allocations: 0.969 MB / 7.174 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07253/32.86, allocations: 19.94 MB / 7.194 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09299/32.95, allocations: 22.18 MB / 7.215 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00143/32.95, allocations: 73.55 kB / 7.215 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008624/32.96, allocations: 32.78 kB / 7.215 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/32.96, allocations: 0.9016 MB / 7.216 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2616/33.22, allocations: 96.09 MB / 7.31 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04856/33.27, allocations: 13.85 MB / 7.324 GB, free: 99.64 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02219/33.3, allocations: 7.743 MB / 7.331 GB, free: 99.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004147/33.3, allocations: 2.032 MB / 7.333 GB, free: 97.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02415/33.32, allocations: 7.288 MB / 7.34 GB, free: 97.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1016): time 1.967e-05/33.32, allocations: 0 / 7.34 GB, free: 97.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1016): time 0.07573/33.4, allocations: 15.46 MB / 7.355 GB, free: 96.37 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/33.4, allocations: 389.1 kB / 7.356 GB, free: 96.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04776/33.45, allocations: 15.13 MB / 7.371 GB, free: 95.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.003468/33.45, allocations: 43.47 kB / 7.371 GB, free: 95.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0261/33.48, allocations: 6.639 MB / 7.377 GB, free: 92.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.02528/33.5, allocations: 3.425 MB / 7.38 GB, free: 89.87 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003537/33.51, allocations: 2.344 kB / 7.38 GB, free: 89.87 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.001713/33.51, allocations: 0.8317 MB / 7.381 GB, free: 89.54 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01993/33.53, allocations: 6.302 MB / 7.387 GB, free: 89.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0244/33.55, allocations: 9.825 MB / 7.397 GB, free: 83.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05342/33.61, allocations: 10.86 MB / 7.408 GB, free: 80.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001975/33.61, allocations: 31.5 kB / 7.408 GB, free: 80.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.0925/33.7, allocations: 19.96 MB / 7.427 GB, free: 74.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.9108/34.61, allocations: 67.57 MB / 7.493 GB, free: 117.9 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005728/34.61, allocations: 108.5 kB / 7.493 GB, free: 117.9 MB / 0.9013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003762/34.61, allocations: 185.9 kB / 7.493 GB, free: 117.9 MB / 0.9013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0358/34.65, allocations: 3.477 MB / 7.497 GB, free: 117.9 MB / 0.9013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003849/34.65, allocations: 244.4 kB / 7.497 GB, free: 117.9 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03841/34.69, allocations: 1.857 MB / 7.499 GB, free: 117.9 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005361/34.69, allocations: 0.6192 MB / 7.499 GB, free: 117.9 MB / 0.9013 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/34.69, allocations: 6.125 kB / 7.499 GB, free: 117.9 MB / 0.9013 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0876/34.78, allocations: 18.43 MB / 7.517 GB, free: 117.7 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005556/34.78, allocations: 106.2 kB / 7.518 GB, free: 117.7 MB / 0.9013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000313/34.78, allocations: 189.6 kB / 7.518 GB, free: 117.7 MB / 0.9013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03609/34.82, allocations: 3.48 MB / 7.521 GB, free: 117.7 MB / 0.9013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003763/34.82, allocations: 244.4 kB / 7.521 GB, free: 117.7 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03591/34.85, allocations: 1.611 MB / 7.523 GB, free: 117.7 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005888/34.86, allocations: 0.6162 MB / 7.524 GB, free: 117.7 MB / 0.9013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * 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 (1638): * Single equations (assignments): 1636 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01199/34.87, allocations: 468.7 kB / 7.524 GB, free: 117.6 MB / 0.9013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01216/34.88, allocations: 1.502 MB / 7.525 GB, free: 117.6 MB / 0.9013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1083/34.99, allocations: 17.89 MB / 7.543 GB, free: 117.1 MB / 0.9013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000113/34.99, allocations: 99.56 kB / 7.543 GB, free: 117.1 MB / 0.9013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-05/34.99, allocations: 6.094 kB / 7.543 GB, free: 117.1 MB / 0.9013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0709/35.06, allocations: 14.14 MB / 7.557 GB, free: 116.7 MB / 0.9013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.159/35.22, allocations: 36.92 MB / 7.593 GB, free: 115.4 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001008/35.22, allocations: 15.88 kB / 7.593 GB, free: 115.4 MB / 0.9013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03122/35.25, allocations: 2.426 MB / 7.595 GB, free: 115.4 MB / 0.9013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/35.25, allocations: 49.78 kB / 7.595 GB, free: 115.4 MB / 0.9013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003961/35.26, allocations: 231.3 kB / 7.596 GB, free: 115.4 MB / 0.9013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001626/35.26, allocations: 59.48 kB / 7.596 GB, free: 115.4 MB / 0.9013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.075e-05/35.26, allocations: 22.19 kB / 7.596 GB, free: 115.4 MB / 0.9013 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1103/35.37, allocations: 30.19 MB / 7.625 GB, free: 107.7 MB / 0.9013 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1271/35.49, allocations: 39.41 MB / 7.664 GB, free: 99.45 MB / 0.9013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02037/35.51, allocations: 4.205 MB / 7.668 GB, free: 98.56 MB / 0.9013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01037/35.52, allocations: 82.8 kB / 7.668 GB, free: 98.56 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03253/35.56, allocations: 0.9505 MB / 7.669 GB, free: 98.52 MB / 0.9013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003712/35.56, allocations: 0.5464 MB / 7.669 GB, free: 98.5 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003875/35.57, allocations: 394.6 kB / 7.67 GB, free: 98.5 MB / 0.9013 GB Notification: Performance of sort global known variables: time 0.03603/35.6, allocations: 11.65 MB / 7.681 GB, free: 98.1 MB / 0.9013 GB Notification: Performance of remove unused functions: time 0.06283/35.66, allocations: 10.57 MB / 7.691 GB, free: 96.49 MB / 0.9013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * Number of states: 60 (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,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,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.vol[30].dynBal.U) * 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 (1030): * Single equations (assignments): 1025 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.007307/35.67, allocations: 1.343 MB / 7.693 GB, free: 96.29 MB / 0.9013 GB Notification: Performance of simCode: created initialization part: time 0.07077/35.74, allocations: 23.76 MB / 7.716 GB, free: 95.53 MB / 0.9013 GB Notification: Performance of simCode: created event and clocks part: time 4.62e-05/35.74, allocations: 17.72 kB / 7.716 GB, free: 95.52 MB / 0.9013 GB Notification: Performance of simCode: created simulation system equations: time 0.02779/35.77, allocations: 6.479 MB / 7.722 GB, free: 94.55 MB / 0.9013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08935/35.86, allocations: 8.786 MB / 7.731 GB, free: 93.18 MB / 0.9013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6602/36.52, allocations: 39.29 MB / 7.769 GB, free: 143 MB / 0.9013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04977/36.57, allocations: 15.09 MB / 7.784 GB, free: 141.9 MB / 0.9013 GB Notification: Performance of SimCode: time 2.104e-06/36.57, allocations: 3.844 kB / 7.784 GB, free: 141.9 MB / 0.9013 GB