Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.448/1.448, allocations: 285.5 MB / 292.8 MB, free: 9.812 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 193.2 kB / 361.1 MB, free: 412 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.2 MB / 0.6195 GB, free: 2.891 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000909/0.0009089, allocations: 93.77 kB / 0.7326 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4609/0.4618, allocations: 121.4 MB / 0.8511 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.6777, allocations: 115.3 MB / 0.9638 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.28/4.958, allocations: 2.355 GB / 3.319 GB, free: 350.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/4.958, allocations: 90.33 kB / 3.319 GB, free: 350.7 MB / 0.948 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 12.68/17.64, allocations: 4.175 GB / 7.494 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/17.64, allocations: 11.06 kB / 7.494 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02309/17.66, allocations: 3.871 MB / 7.498 GB, free: 99.08 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06998/17.73, allocations: 29.14 MB / 7.526 GB, free: 96.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008315/17.73, allocations: 0.5273 MB / 7.527 GB, free: 96.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006597/17.74, allocations: 0.9717 MB / 7.528 GB, free: 96.69 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04823/17.79, allocations: 19.85 MB / 7.547 GB, free: 96.62 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06291/17.85, allocations: 22.75 MB / 7.569 GB, free: 94.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008568/17.85, allocations: 66.69 kB / 7.569 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006246/17.86, allocations: 37.62 kB / 7.569 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007004/17.86, allocations: 0.9036 MB / 7.57 GB, free: 93.97 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.189/18.05, allocations: 96.68 MB / 7.665 GB, free: 46.74 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0256/18.07, allocations: 13.79 MB / 7.678 GB, free: 37.28 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01235/18.08, allocations: 7.741 MB / 7.686 GB, free: 30.33 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002497/18.09, allocations: 2.036 MB / 7.688 GB, free: 28.07 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01422/18.1, allocations: 7.718 MB / 7.695 GB, free: 21.97 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1020): time 1.548e-05/18.1, allocations: 8 kB / 7.695 GB, free: 21.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1020): time 0.043/18.14, allocations: 15.16 MB / 7.71 GB, free: 9.355 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/18.14, allocations: 422.8 kB / 7.71 GB, free: 8.871 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03193/18.18, allocations: 15.41 MB / 7.725 GB, free: 12.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.00279/18.18, allocations: 45.64 kB / 7.725 GB, free: 12.42 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01859/18.2, allocations: 6.645 MB / 7.732 GB, free: 6.668 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.01962/18.22, allocations: 3.442 MB / 7.735 GB, free: 3.492 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002281/18.22, allocations: 0 / 7.735 GB, free: 3.492 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001286/18.22, allocations: 0.8302 MB / 7.736 GB, free: 2.805 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7103/18.93, allocations: 6.906 MB / 7.743 GB, free: 195.2 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01386/18.94, allocations: 9.796 MB / 7.752 GB, free: 191.2 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02734/18.97, allocations: 10.56 MB / 7.763 GB, free: 191 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001576/18.97, allocations: 31.28 kB / 7.763 GB, free: 191 MB / 1.011 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.05461/19.03, allocations: 19.6 MB / 7.782 GB, free: 190.8 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.01222/19.04, allocations: 67.82 MB / 7.848 GB, free: 136.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000527/19.04, allocations: 104.7 kB / 7.848 GB, free: 136.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/19.04, allocations: 189.5 kB / 7.848 GB, free: 136.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01822/19.06, allocations: 3.466 MB / 7.852 GB, free: 136.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002642/19.06, allocations: 240.8 kB / 7.852 GB, free: 136.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02242/19.08, allocations: 1.842 MB / 7.854 GB, free: 136.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004128/19.09, allocations: 0.6185 MB / 7.854 GB, free: 136.8 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/19.09, allocations: 10.38 kB / 7.854 GB, free: 136.8 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04699/19.13, allocations: 18.06 MB / 7.872 GB, free: 136.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002819/19.13, allocations: 107 kB / 7.872 GB, free: 136.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/19.13, allocations: 186.4 kB / 7.872 GB, free: 136.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01743/19.15, allocations: 3.463 MB / 7.876 GB, free: 136.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002871/19.15, allocations: 242.1 kB / 7.876 GB, free: 136.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02092/19.17, allocations: 1.599 MB / 7.878 GB, free: 136.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003817/19.18, allocations: 0.6159 MB / 7.878 GB, free: 136.6 MB / 1.026 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.004774/19.18, allocations: 463.1 kB / 7.879 GB, free: 136.5 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006598/19.19, allocations: 1.525 MB / 7.88 GB, free: 135.8 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04476/19.23, allocations: 17.22 MB / 7.897 GB, free: 135.3 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.199e-05/19.23, allocations: 102.8 kB / 7.897 GB, free: 135.3 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.307e-05/19.23, allocations: 3.844 kB / 7.897 GB, free: 135.3 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0336/19.27, allocations: 13.87 MB / 7.911 GB, free: 135 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09262/19.36, allocations: 37.28 MB / 7.947 GB, free: 133.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-05/19.36, allocations: 16.75 kB / 7.947 GB, free: 133.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01481/19.37, allocations: 2.421 MB / 7.949 GB, free: 133.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/19.37, allocations: 55.66 kB / 7.949 GB, free: 133.2 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002607/19.38, allocations: 235.7 kB / 7.95 GB, free: 133.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.87e-05/19.38, allocations: 56.27 kB / 7.95 GB, free: 133.2 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/19.38, allocations: 27.56 kB / 7.95 GB, free: 133.2 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05232/19.43, allocations: 30.33 MB / 7.979 GB, free: 124.7 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06443/19.49, allocations: 39.57 MB / 8.018 GB, free: 115 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01507/19.51, allocations: 4.432 MB / 8.022 GB, free: 112.9 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007085/19.51, allocations: 78.8 kB / 8.022 GB, free: 112.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01941/19.53, allocations: 0.9478 MB / 8.023 GB, free: 112.9 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002515/19.54, allocations: 0.5586 MB / 8.024 GB, free: 112.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002237/19.54, allocations: 0.5449 MB / 8.024 GB, free: 112.7 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.02241/19.56, allocations: 11.67 MB / 8.036 GB, free: 108.5 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.04727/19.61, allocations: 10.57 MB / 8.046 GB, free: 106.9 MB / 1.026 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.00561/19.61, allocations: 1.328 MB / 8.047 GB, free: 106.6 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.04156/19.66, allocations: 23.58 MB / 8.07 GB, free: 98.61 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.673e-05/19.66, allocations: 22.3 kB / 8.07 GB, free: 98.6 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01141/19.67, allocations: 6.498 MB / 8.077 GB, free: 95.72 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04496/19.71, allocations: 8.848 MB / 8.085 GB, free: 89.75 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08601/19.8, allocations: 39.36 MB / 8.124 GB, free: 55.33 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.8317/20.63, allocations: 15.13 MB / 8.139 GB, free: 193.7 MB / 1.026 GB Notification: Performance of SimCode: time 1.703e-06/20.63, allocations: 0 / 8.139 GB, free: 193.7 MB / 1.026 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)