Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.348/2.348, allocations: 248.6 MB / 255.9 MB, free: 7.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001916/0.001915, allocations: 179.5 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.1 MB / 0.5658 GB, free: 356 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 83.34 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5908/0.5921, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.8141, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.396/7.21, allocations: 2.473 GB / 3.357 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/7.211, allocations: 92.17 kB / 3.357 GB, free: 238.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 20.66/27.87, allocations: 4.079 GB / 7.435 GB, free: 82.45 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/27.87, allocations: 10.31 kB / 7.435 GB, free: 82.45 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03584/27.91, allocations: 3.859 MB / 7.439 GB, free: 81.21 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1285/28.04, allocations: 29 MB / 7.467 GB, free: 78.87 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001547/28.04, allocations: 0.525 MB / 7.468 GB, free: 78.87 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009013/28.05, allocations: 0.9716 MB / 7.469 GB, free: 78.86 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08166/28.13, allocations: 19.85 MB / 7.488 GB, free: 78.79 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.115/28.24, allocations: 22.43 MB / 7.51 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001615/28.25, allocations: 76.33 kB / 7.51 GB, free: 76.22 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009512/28.26, allocations: 30.34 kB / 7.51 GB, free: 76.22 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001189/28.26, allocations: 0.9039 MB / 7.511 GB, free: 76.19 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2683/28.53, allocations: 96.31 MB / 7.605 GB, free: 39.07 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04952/28.58, allocations: 13.79 MB / 7.619 GB, free: 38.46 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0228/28.6, allocations: 7.74 MB / 7.626 GB, free: 37.26 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004156/28.6, allocations: 2.029 MB / 7.628 GB, free: 35.24 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0265/28.63, allocations: 7.53 MB / 7.636 GB, free: 32.73 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1020): time 2.448e-05/28.63, allocations: 1.281 kB / 7.636 GB, free: 32.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1020): time 0.08006/28.71, allocations: 15.16 MB / 7.65 GB, free: 26.98 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/28.71, allocations: 412.4 kB / 7.651 GB, free: 26.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04723/28.76, allocations: 15.17 MB / 7.666 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.003571/28.76, allocations: 37.7 kB / 7.666 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.02458/28.78, allocations: 6.645 MB / 7.672 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0322/28.82, allocations: 3.436 MB / 7.676 GB, free: 4.508 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004466/28.82, allocations: 0 / 7.676 GB, free: 4.508 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.002305/28.82, allocations: 0.8293 MB / 7.676 GB, free: 3.82 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04528/28.87, allocations: 6.928 MB / 7.683 GB, free: 0 / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03591/28.91, allocations: 9.812 MB / 7.693 GB, free: 5.637 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8934/29.8, allocations: 10.9 MB / 7.703 GB, free: 176.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/29.8, allocations: 32.41 kB / 7.703 GB, free: 176.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.08755/29.89, allocations: 19.59 MB / 7.722 GB, free: 176 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01265/29.9, allocations: 67.83 MB / 7.789 GB, free: 122.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004003/29.9, allocations: 106.6 kB / 7.789 GB, free: 122.1 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/29.9, allocations: 188.7 kB / 7.789 GB, free: 122.1 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0313/29.93, allocations: 3.461 MB / 7.792 GB, free: 122.1 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000299/29.93, allocations: 240.7 kB / 7.793 GB, free: 122.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03287/29.96, allocations: 1.844 MB / 7.794 GB, free: 122.1 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004067/29.97, allocations: 0.6159 MB / 7.795 GB, free: 122.1 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/29.97, allocations: 6.844 kB / 7.795 GB, free: 122.1 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0699/30.04, allocations: 18.06 MB / 7.813 GB, free: 121.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003139/30.04, allocations: 107.4 kB / 7.813 GB, free: 121.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/30.04, allocations: 189.1 kB / 7.813 GB, free: 121.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03053/30.07, allocations: 3.465 MB / 7.816 GB, free: 121.9 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002763/30.07, allocations: 241.6 kB / 7.817 GB, free: 121.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03072/30.1, allocations: 1.601 MB / 7.818 GB, free: 121.9 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003978/30.1, allocations: 0.6133 MB / 7.819 GB, free: 121.9 MB / 0.9637 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1636): * Single equations (assignments): 1636 * 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.005215/30.11, allocations: 462.9 kB / 7.819 GB, free: 121.7 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00696/30.12, allocations: 1.514 MB / 7.821 GB, free: 121.1 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0889/30.21, allocations: 17.23 MB / 7.837 GB, free: 120.6 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001181/30.21, allocations: 97.31 kB / 7.838 GB, free: 120.6 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.931e-05/30.21, allocations: 0 / 7.838 GB, free: 120.6 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07186/30.28, allocations: 13.87 MB / 7.851 GB, free: 120.3 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1673/30.45, allocations: 37.06 MB / 7.887 GB, free: 118.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.733e-05/30.45, allocations: 17.72 kB / 7.887 GB, free: 118.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02976/30.48, allocations: 2.417 MB / 7.89 GB, free: 118.6 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/30.48, allocations: 55.12 kB / 7.89 GB, free: 118.6 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003549/30.48, allocations: 233.2 kB / 7.89 GB, free: 118.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001682/30.48, allocations: 61.44 kB / 7.89 GB, free: 118.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.196e-05/30.48, allocations: 22.94 kB / 7.89 GB, free: 118.6 MB / 0.9637 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1054/30.58, allocations: 30.32 MB / 7.92 GB, free: 110.1 MB / 0.9637 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1477/30.73, allocations: 39.54 MB / 7.958 GB, free: 101.2 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02491/30.76, allocations: 4.328 MB / 7.962 GB, free: 100.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01301/30.77, allocations: 84.11 kB / 7.963 GB, free: 100.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03101/30.8, allocations: 0.9487 MB / 7.963 GB, free: 100.2 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003073/30.8, allocations: 0.5516 MB / 7.964 GB, free: 100.2 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003533/30.81, allocations: 0.4955 MB / 7.964 GB, free: 100.2 MB / 0.9637 GB Notification: Performance of sort global known variables: time 0.04737/30.86, allocations: 11.67 MB / 7.976 GB, free: 99.8 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.08339/30.94, allocations: 10.55 MB / 7.986 GB, free: 98.51 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1040): * Single equations (assignments): 1034 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.009291/30.95, allocations: 1.311 MB / 7.987 GB, free: 98.27 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.07886/31.03, allocations: 23.58 MB / 8.01 GB, free: 91.79 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 4.874e-05/31.03, allocations: 14.45 kB / 8.011 GB, free: 91.79 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.02112/31.05, allocations: 6.491 MB / 8.017 GB, free: 87.55 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09238/31.14, allocations: 8.829 MB / 8.025 GB, free: 81.59 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1889/31.33, allocations: 39.37 MB / 8.064 GB, free: 47.25 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.9654/32.3, allocations: 15.11 MB / 8.079 GB, free: 176.7 MB / 0.9638 GB Notification: Performance of SimCode: time 1.914e-06/32.3, allocations: 0 / 8.079 GB, free: 176.7 MB / 0.9638 GB