Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.268/1.268, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.001221/0.001221, allocations: 189.2 kB / 316 MB, free: 3.496 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 0.5667 GB, free: 15.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000821/0.0008211, allocations: 86.94 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3547/0.3556, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.5286, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.563/5.091, allocations: 2.473 GB / 3.358 GB, free: 227.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/5.091, allocations: 94.69 kB / 3.358 GB, free: 227.1 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 12.33/17.42, allocations: 4.079 GB / 7.437 GB, free: 14.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/17.42, allocations: 12 kB / 7.437 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02462/17.44, allocations: 3.852 MB / 7.441 GB, free: 11.01 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9553/18.4, allocations: 29.01 MB / 7.469 GB, free: 70.86 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008954/18.4, allocations: 0.5275 MB / 7.469 GB, free: 70.86 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00607/18.41, allocations: 0.9676 MB / 7.47 GB, free: 70.86 MB / 0.9637 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0422/18.45, allocations: 19.85 MB / 7.49 GB, free: 70.79 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06079/18.51, allocations: 22.43 MB / 7.512 GB, free: 68.24 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009883/18.51, allocations: 67.58 kB / 7.512 GB, free: 68.24 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005847/18.52, allocations: 32.16 kB / 7.512 GB, free: 68.24 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000604/18.52, allocations: 0.9124 MB / 7.513 GB, free: 68.2 MB / 0.9637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1612/18.68, allocations: 96.31 MB / 7.607 GB, free: 48.7 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02343/18.7, allocations: 13.78 MB / 7.62 GB, free: 48.12 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01218/18.71, allocations: 7.744 MB / 7.628 GB, free: 48.02 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003007/18.72, allocations: 2.03 MB / 7.63 GB, free: 46.04 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01563/18.73, allocations: 7.534 MB / 7.637 GB, free: 45.83 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=1020): time 1.726e-05/18.73, allocations: 1.094 kB / 7.637 GB, free: 45.83 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1020): time 0.04367/18.78, allocations: 15.15 MB / 7.652 GB, free: 44.85 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/18.78, allocations: 419.2 kB / 7.652 GB, free: 44.46 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02564/18.8, allocations: 15.16 MB / 7.667 GB, free: 43.69 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.002739/18.8, allocations: 35.55 kB / 7.667 GB, free: 43.66 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.01726/18.82, allocations: 6.644 MB / 7.674 GB, free: 40.64 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.01903/18.84, allocations: 3.437 MB / 7.677 GB, free: 38.39 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002006/18.84, allocations: 0 / 7.677 GB, free: 38.39 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.001039/18.84, allocations: 0.8383 MB / 7.678 GB, free: 38.06 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009125/18.85, allocations: 6.26 MB / 7.684 GB, free: 38.03 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/18.86, allocations: 9.798 MB / 7.693 GB, free: 33.97 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02512/18.89, allocations: 10.56 MB / 7.704 GB, free: 33.83 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/18.89, allocations: 30.56 kB / 7.704 GB, free: 33.83 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.04395/18.93, allocations: 19.59 MB / 7.723 GB, free: 29.12 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.02512/18.96, allocations: 67.83 MB / 7.789 GB, free: 22 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003849/18.96, allocations: 106.6 kB / 7.789 GB, free: 22 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/18.96, allocations: 189.5 kB / 7.789 GB, free: 22 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01891/18.98, allocations: 3.46 MB / 7.793 GB, free: 21.89 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003356/18.98, allocations: 238.3 kB / 7.793 GB, free: 21.89 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02163/19, allocations: 1.847 MB / 7.795 GB, free: 21.17 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003618/19, allocations: 0.619 MB / 7.795 GB, free: 21.07 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/19, allocations: 3.844 kB / 7.795 GB, free: 21.07 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04769/19.05, allocations: 18.06 MB / 7.813 GB, free: 16.15 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002495/19.05, allocations: 108.1 kB / 7.813 GB, free: 16.15 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/19.05, allocations: 191.4 kB / 7.813 GB, free: 16.15 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01842/19.07, allocations: 3.457 MB / 7.817 GB, free: 15.85 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003416/19.07, allocations: 240.6 kB / 7.817 GB, free: 15.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02163/19.09, allocations: 1.602 MB / 7.818 GB, free: 15.25 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003896/19.1, allocations: 0.6157 MB / 7.819 GB, free: 15.15 MB / 1.042 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.005933/19.1, allocations: 457.8 kB / 7.82 GB, free: 14.75 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007005/19.11, allocations: 1.509 MB / 7.821 GB, free: 13.96 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05377/19.16, allocations: 17.22 MB / 7.838 GB, free: 8.836 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001381/19.16, allocations: 104.6 kB / 7.838 GB, free: 8.836 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/19.16, allocations: 1.062 kB / 7.838 GB, free: 8.836 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.8631/20.03, allocations: 14.16 MB / 7.852 GB, free: 141.9 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09689/20.12, allocations: 37.05 MB / 7.888 GB, free: 140.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/20.12, allocations: 15.56 kB / 7.888 GB, free: 140.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0156/20.14, allocations: 2.423 MB / 7.89 GB, free: 140.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/20.14, allocations: 52.44 kB / 7.89 GB, free: 140.5 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002659/20.14, allocations: 229.2 kB / 7.891 GB, free: 140.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-05/20.14, allocations: 59.23 kB / 7.891 GB, free: 140.5 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/20.14, allocations: 27.5 kB / 7.891 GB, free: 140.5 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05363/20.2, allocations: 30.31 MB / 7.92 GB, free: 132.9 MB / 1.042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06581/20.26, allocations: 39.55 MB / 7.959 GB, free: 124.5 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01633/20.28, allocations: 4.337 MB / 7.963 GB, free: 123.6 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0079/20.29, allocations: 79.77 kB / 7.963 GB, free: 123.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01959/20.31, allocations: 0.9502 MB / 7.964 GB, free: 123.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002568/20.31, allocations: 0.5495 MB / 7.965 GB, free: 123.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002911/20.31, allocations: 0.494 MB / 7.965 GB, free: 123.5 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.02266/20.33, allocations: 11.67 MB / 7.977 GB, free: 123.1 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04723/20.38, allocations: 10.56 MB / 7.987 GB, free: 122.2 MB / 1.042 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.005689/20.39, allocations: 1.323 MB / 7.988 GB, free: 122.1 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.04406/20.43, allocations: 23.58 MB / 8.011 GB, free: 121.8 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-05/20.43, allocations: 17.33 kB / 8.011 GB, free: 121.8 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01352/20.44, allocations: 6.496 MB / 8.018 GB, free: 121.8 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0477/20.49, allocations: 8.828 MB / 8.026 GB, free: 121.5 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09166/20.58, allocations: 39.36 MB / 8.065 GB, free: 114.4 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0351/20.62, allocations: 15.12 MB / 8.079 GB, free: 113 MB / 1.042 GB Notification: Performance of SimCode: time 1.523e-06/20.62, allocations: 0 / 8.079 GB, free: 113 MB / 1.042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)