Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",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.191/2.191, allocations: 248.6 MB / 255.9 MB, free: 1.125 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001575, allocations: 181.3 kB / 315.1 MB, free: 9.547 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.1 MB / 0.5658 GB, free: 14.01 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001272, allocations: 93.88 kB / 0.6699 GB, free: 51.77 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2441/0.2454, allocations: 112.4 MB / 0.7797 GB, free: 10.59 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.4921, allocations: 106.2 MB / 0.8835 GB, free: 244 kB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.846/7.338, allocations: 2.475 GB / 3.359 GB, free: 192.7 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/7.339, allocations: 96.22 kB / 3.359 GB, free: 192.6 MB / 0.8777 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 22.06/29.4, allocations: 4.082 GB / 7.441 GB, free: 92.61 MB / 0.9403 GB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/29.4, allocations: 9.25 kB / 7.441 GB, free: 92.61 MB / 0.9403 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04595/29.45, allocations: 4.116 MB / 7.445 GB, free: 91.37 MB / 0.9403 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1466/29.6, allocations: 29.13 MB / 7.474 GB, free: 89.01 MB / 0.9403 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001228/29.6, allocations: 0.5313 MB / 7.474 GB, free: 89.01 MB / 0.9403 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009456/29.61, allocations: 0.9778 MB / 7.475 GB, free: 89 MB / 0.9403 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07543/29.68, allocations: 20.07 MB / 7.495 GB, free: 88.93 MB / 0.9403 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09899/29.78, allocations: 22.48 MB / 7.517 GB, free: 86.33 MB / 0.9403 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001592/29.78, allocations: 66.59 kB / 7.517 GB, free: 86.32 MB / 0.9403 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00905/29.79, allocations: 35.12 kB / 7.517 GB, free: 86.32 MB / 0.9403 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001708/29.79, allocations: 0.9035 MB / 7.518 GB, free: 86.29 MB / 0.9403 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2795/30.07, allocations: 96.34 MB / 7.612 GB, free: 43.77 MB / 0.9403 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04795/30.12, allocations: 13.77 MB / 7.625 GB, free: 38.95 MB / 0.9403 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02323/30.15, allocations: 7.832 MB / 7.633 GB, free: 31.95 MB / 0.9403 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004262/30.15, allocations: 2.035 MB / 7.635 GB, free: 29.68 MB / 0.9403 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03005/30.18, allocations: 7.148 MB / 7.642 GB, free: 23.99 MB / 0.9403 GB Notification: Performance of pre-optimization done (n=1035): time 2.733e-05/30.18, allocations: 3.391 kB / 7.642 GB, free: 23.99 MB / 0.9403 GB Notification: Performance of matching and sorting (n=1035): time 0.08219/30.26, allocations: 15.28 MB / 7.657 GB, free: 11.2 MB / 0.9403 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/30.26, allocations: 420.5 kB / 7.657 GB, free: 10.71 MB / 0.9403 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06529/30.33, allocations: 15.2 MB / 7.672 GB, free: 13.64 MB / 0.9559 GB Notification: Performance of collectPreVariables (initialization): time 0.005019/30.33, allocations: 37.7 kB / 7.672 GB, free: 13.6 MB / 0.9559 GB Notification: Performance of collectInitialEqns (initialization): time 0.03219/30.36, allocations: 6.647 MB / 7.678 GB, free: 7.848 MB / 0.9559 GB Notification: Performance of collectInitialBindings (initialization): time 0.04083/30.41, allocations: 3.483 MB / 7.682 GB, free: 4.633 MB / 0.9559 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005272/30.41, allocations: 0 / 7.682 GB, free: 4.633 MB / 0.9559 GB Notification: Performance of setup shared object (initialization): time 0.002968/30.41, allocations: 0.8372 MB / 7.683 GB, free: 3.938 MB / 0.9559 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03486/30.45, allocations: 6.956 MB / 7.689 GB, free: 0 / 0.9559 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023/31.47, allocations: 9.879 MB / 7.699 GB, free: 180.2 MB / 0.956 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07521/31.55, allocations: 11.69 MB / 7.711 GB, free: 180 MB / 0.956 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/31.55, allocations: 31.03 kB / 7.711 GB, free: 180 MB / 0.956 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.1455/31.69, allocations: 20.84 MB / 7.731 GB, free: 179.7 MB / 0.956 GB Notification: Performance of prepare postOptimizeDAE: time 0.01984/31.71, allocations: 68.12 MB / 7.797 GB, free: 125.7 MB / 0.9716 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000784/31.71, allocations: 108.8 kB / 7.798 GB, free: 125.7 MB / 0.9716 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/31.71, allocations: 188.4 kB / 7.798 GB, free: 125.7 MB / 0.9716 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04706/31.76, allocations: 3.527 MB / 7.801 GB, free: 125.7 MB / 0.9716 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006901/31.76, allocations: 242.4 kB / 7.801 GB, free: 125.7 MB / 0.9716 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05575/31.82, allocations: 1.879 MB / 7.803 GB, free: 125.7 MB / 0.9716 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006287/31.82, allocations: 0.6255 MB / 7.804 GB, free: 125.7 MB / 0.9716 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/31.82, allocations: 3.781 kB / 7.804 GB, free: 125.7 MB / 0.9716 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1196/31.94, allocations: 19.29 MB / 7.823 GB, free: 125.4 MB / 0.9716 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005807/31.95, allocations: 108.8 kB / 7.823 GB, free: 125.4 MB / 0.9716 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005086/31.95, allocations: 191.8 kB / 7.823 GB, free: 125.4 MB / 0.9716 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03741/31.98, allocations: 3.524 MB / 7.826 GB, free: 125.4 MB / 0.9716 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003668/31.98, allocations: 243.4 kB / 7.827 GB, free: 125.4 MB / 0.9716 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03712/32.02, allocations: 1.642 MB / 7.828 GB, free: 125.4 MB / 0.9716 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00511/32.03, allocations: 0.6265 MB / 7.829 GB, free: 125.4 MB / 0.9716 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.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 (1657): * Single equations (assignments): 1657 * 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.008827/32.03, allocations: 470.7 kB / 7.829 GB, free: 125.3 MB / 0.9716 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009816/32.04, allocations: 1.515 MB / 7.831 GB, free: 124.6 MB / 0.9716 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1049/32.15, allocations: 17.38 MB / 7.848 GB, free: 124.1 MB / 0.9716 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001644/32.15, allocations: 100.4 kB / 7.848 GB, free: 124.1 MB / 0.9716 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.485e-05/32.15, allocations: 3.562 kB / 7.848 GB, free: 124.1 MB / 0.9716 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07121/32.22, allocations: 13.99 MB / 7.861 GB, free: 123.8 MB / 0.9716 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1724/32.39, allocations: 37.2 MB / 7.898 GB, free: 122 MB / 0.9716 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-05/32.39, allocations: 6.781 kB / 7.898 GB, free: 122 MB / 0.9716 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03415/32.43, allocations: 2.461 MB / 7.9 GB, free: 121.9 MB / 0.9716 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001893/32.43, allocations: 42.75 kB / 7.9 GB, free: 121.9 MB / 0.9716 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004147/32.43, allocations: 218.5 kB / 7.9 GB, free: 121.9 MB / 0.9716 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001545/32.43, allocations: 35.66 kB / 7.901 GB, free: 121.9 MB / 0.9716 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/32.43, allocations: 3.906 kB / 7.901 GB, free: 121.9 MB / 0.9716 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1041/32.54, allocations: 25.02 MB / 7.925 GB, free: 119.8 MB / 0.9716 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1413/32.68, allocations: 34.54 MB / 7.959 GB, free: 116.2 MB / 0.9716 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02711/32.71, allocations: 4.326 MB / 7.963 GB, free: 114.1 MB / 0.9716 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009614/32.71, allocations: 67.78 kB / 7.963 GB, free: 114.1 MB / 0.9716 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03508/32.75, allocations: 1.11 MB / 7.964 GB, free: 114 MB / 0.9716 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003644/32.75, allocations: 0.5212 MB / 7.965 GB, free: 113.9 MB / 0.9716 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006224/32.76, allocations: 0.4889 MB / 7.965 GB, free: 113.8 MB / 0.9716 GB Notification: Performance of sort global known variables: time 0.03803/32.8, allocations: 11.68 MB / 7.976 GB, free: 109.7 MB / 0.9716 GB Notification: Performance of remove unused functions: time 0.06678/32.86, allocations: 10.61 MB / 7.987 GB, free: 108 MB / 0.9716 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1059): * Single equations (assignments): 1051 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.008685/32.87, allocations: 1.513 MB / 7.988 GB, free: 107.7 MB / 0.9716 GB Notification: Performance of simCode: created initialization part: time 0.0834/32.96, allocations: 23.99 MB / 8.012 GB, free: 89.41 MB / 0.9716 GB Notification: Performance of simCode: created event and clocks part: time 4.482e-05/32.96, allocations: 12.2 kB / 8.012 GB, free: 89.4 MB / 0.9716 GB Notification: Performance of simCode: created simulation system equations: time 0.02823/32.99, allocations: 6.654 MB / 8.018 GB, free: 83.43 MB / 0.9716 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1018/33.09, allocations: 8.842 MB / 8.027 GB, free: 77.47 MB / 0.9716 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1825/33.27, allocations: 39.18 MB / 8.065 GB, free: 43.27 MB / 0.9716 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.071/33.34, allocations: 15.19 MB / 8.08 GB, free: 32.04 MB / 0.9716 GB Notification: Performance of SimCode: time 2.374e-06/33.34, allocations: 0 / 8.08 GB, free: 32.04 MB / 0.9716 GB