Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",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.1.4-maint.8.1.x/package.mo): time 1.539/1.539, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001292/0.001292, allocations: 181.3 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009713/0.0009711, allocations: 75.98 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.264/0.265, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6395/0.9046, allocations: 116.3 MB / 0.9726 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.717/5.622, allocations: 2.359 GB / 3.331 GB, free: 76.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/5.623, allocations: 96.5 kB / 3.332 GB, free: 76.61 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 5.149/10.77, allocations: 1.484 GB / 4.815 GB, free: 44.63 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/10.77, allocations: 8 kB / 4.815 GB, free: 44.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01817/10.79, allocations: 2.706 MB / 4.818 GB, free: 41.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02532/10.82, allocations: 7.958 MB / 4.826 GB, free: 33.92 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/10.82, allocations: 188 kB / 4.826 GB, free: 33.73 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003176/10.82, allocations: 340 kB / 4.826 GB, free: 33.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02031/10.84, allocations: 6.946 MB / 4.833 GB, free: 26.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02355/10.86, allocations: 7.135 MB / 4.84 GB, free: 19.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000372/10.86, allocations: 15.84 kB / 4.84 GB, free: 19.08 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002564/10.87, allocations: 12 kB / 4.84 GB, free: 19.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/10.87, allocations: 271.2 kB / 4.84 GB, free: 18.8 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06671/10.93, allocations: 31.32 MB / 4.871 GB, free: 2.422 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6107/11.54, allocations: 4.659 MB / 4.875 GB, free: 197.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004493/11.55, allocations: 2.615 MB / 4.878 GB, free: 197.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002367/11.55, allocations: 2.413 MB / 4.88 GB, free: 194.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00497/11.56, allocations: 2.852 MB / 4.883 GB, free: 194.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=421): time 6.503e-06/11.56, allocations: 0 / 4.883 GB, free: 194.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=421): time 0.02116/11.58, allocations: 6.167 MB / 4.889 GB, free: 194.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/11.58, allocations: 378.7 kB / 4.89 GB, free: 194.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008744/11.59, allocations: 4.593 MB / 4.894 GB, free: 194 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001112/11.59, allocations: 33.05 kB / 4.894 GB, free: 193.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002583/11.59, allocations: 2.115 MB / 4.896 GB, free: 193.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002414/11.59, allocations: 1.361 MB / 4.897 GB, free: 192.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/11.59, allocations: 0 / 4.897 GB, free: 192.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002609/11.59, allocations: 486.2 kB / 4.898 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/11.6, allocations: 2.087 MB / 4.9 GB, free: 192.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/11.6, allocations: 3.037 MB / 4.903 GB, free: 191.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/11.62, allocations: 3.932 MB / 4.907 GB, free: 191.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.39e-05/11.62, allocations: 5.562 kB / 4.907 GB, free: 191.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02333/11.64, allocations: 7.122 MB / 4.914 GB, free: 191 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002713/11.64, allocations: 10.57 MB / 4.924 GB, free: 179.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.059e-05/11.64, allocations: 22.38 kB / 4.924 GB, free: 179.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-05/11.64, allocations: 54.45 kB / 4.924 GB, free: 179.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007559/11.65, allocations: 1.277 MB / 4.925 GB, free: 179.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.298e-05/11.65, allocations: 58.05 kB / 4.925 GB, free: 179.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008504/11.66, allocations: 0.6665 MB / 4.926 GB, free: 179.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000878/11.66, allocations: 228.9 kB / 4.926 GB, free: 179.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/11.66, allocations: 3.531 kB / 4.926 GB, free: 179.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02521/11.68, allocations: 6.552 MB / 4.933 GB, free: 179.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-05/11.68, allocations: 22.91 kB / 4.933 GB, free: 179.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.129e-05/11.68, allocations: 49.78 kB / 4.933 GB, free: 179.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007805/11.69, allocations: 1.28 MB / 4.934 GB, free: 179.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.008e-05/11.69, allocations: 52.52 kB / 4.934 GB, free: 179.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009539/11.7, allocations: 0.6144 MB / 4.935 GB, free: 179.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002137/11.7, allocations: 226.7 kB / 4.935 GB, free: 179.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (562): * Single equations (assignments): 562 * 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.00324/11.71, allocations: 205.9 kB / 4.935 GB, free: 179.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003648/11.71, allocations: 0.5552 MB / 4.936 GB, free: 179.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02763/11.74, allocations: 7.427 MB / 4.943 GB, free: 178.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/11.74, allocations: 47.31 kB / 4.943 GB, free: 178.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/11.74, allocations: 0 / 4.943 GB, free: 178.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02002/11.76, allocations: 5.799 MB / 4.949 GB, free: 178.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04351/11.8, allocations: 14.58 MB / 4.963 GB, free: 177.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/11.8, allocations: 3.719 kB / 4.963 GB, free: 177.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007008/11.81, allocations: 1.049 MB / 4.964 GB, free: 177.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.501e-05/11.81, allocations: 23.25 kB / 4.964 GB, free: 177.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008961/11.81, allocations: 101.4 kB / 4.964 GB, free: 177.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-05/11.81, allocations: 28.25 kB / 4.964 GB, free: 177.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/11.81, allocations: 6.375 kB / 4.964 GB, free: 177.7 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02971/11.84, allocations: 10.74 MB / 4.975 GB, free: 175.7 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03359/11.87, allocations: 14.44 MB / 4.989 GB, free: 173.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005836/11.88, allocations: 1.618 MB / 4.99 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002502/11.88, allocations: 21.14 kB / 4.99 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00765/11.89, allocations: 433.6 kB / 4.991 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005435/11.89, allocations: 245.9 kB / 4.991 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006101/11.89, allocations: 206.8 kB / 4.991 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.006288/11.9, allocations: 3.552 MB / 4.995 GB, free: 172.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01868/11.92, allocations: 3.921 MB / 4.998 GB, free: 172.1 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].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 (447): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.004785/11.92, allocations: 1.536 MB / 5 GB, free: 171.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01419/11.93, allocations: 8.245 MB / 5.008 GB, free: 171.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/11.93, allocations: 3.75 kB / 5.008 GB, free: 171.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00394/11.94, allocations: 2.571 MB / 5.01 GB, free: 171.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0156/11.95, allocations: 2.436 MB / 5.013 GB, free: 171.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/11.99, allocations: 11.64 MB / 5.024 GB, free: 169.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006936/11.99, allocations: 5.126 MB / 5.029 GB, free: 168.6 MB / 0.9792 GB Notification: Performance of SimCode: time 7.52e-07/11.99, allocations: 0 / 5.029 GB, free: 168.6 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)