Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.511/2.511, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001671/0.001671, allocations: 181.3 kB / 360.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.268/2.268, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001209/0.001209, allocations: 88.84 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2774/0.2786, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.9511, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.543/6.494, allocations: 2.358 GB / 3.32 GB, free: 40.49 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/6.495, allocations: 92.16 kB / 3.321 GB, free: 40.45 MB / 0.9323 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 7.567/14.06, allocations: 1.484 GB / 4.804 GB, free: 94.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/14.06, allocations: 7.688 kB / 4.804 GB, free: 94.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03062/14.09, allocations: 2.705 MB / 4.807 GB, free: 94.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03286/14.12, allocations: 7.962 MB / 4.815 GB, free: 93.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004181/14.13, allocations: 188.6 kB / 4.815 GB, free: 93.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002907/14.13, allocations: 346.4 kB / 4.815 GB, free: 93.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02529/14.15, allocations: 6.944 MB / 4.822 GB, free: 93.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02843/14.18, allocations: 7.135 MB / 4.829 GB, free: 92.64 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003733/14.18, allocations: 9 kB / 4.829 GB, free: 92.64 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002928/14.19, allocations: 10.03 kB / 4.829 GB, free: 92.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000321/14.19, allocations: 273.2 kB / 4.829 GB, free: 92.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.091/14.28, allocations: 31.32 MB / 4.86 GB, free: 81.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/14.29, allocations: 4.667 MB / 4.865 GB, free: 81.25 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007744/14.3, allocations: 2.618 MB / 4.867 GB, free: 81.22 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003805/14.3, allocations: 2.415 MB / 4.869 GB, free: 78.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01022/14.31, allocations: 2.85 MB / 4.872 GB, free: 78.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=421): time 1.064e-05/14.31, allocations: 0 / 4.872 GB, free: 78.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=421): time 0.04067/14.35, allocations: 6.16 MB / 4.878 GB, free: 78.15 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/14.35, allocations: 388.3 kB / 4.879 GB, free: 77.74 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01341/14.37, allocations: 4.585 MB / 4.883 GB, free: 77.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001671/14.37, allocations: 29.61 kB / 4.883 GB, free: 77.37 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004073/14.37, allocations: 2.12 MB / 4.885 GB, free: 76.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00375/14.38, allocations: 1.362 MB / 4.887 GB, free: 75.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007433/14.38, allocations: 1.469 kB / 4.887 GB, free: 75.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004091/14.38, allocations: 483.7 kB / 4.887 GB, free: 75.01 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006768/14.39, allocations: 2.084 MB / 4.889 GB, free: 74.99 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008281/14.39, allocations: 3.041 MB / 4.892 GB, free: 73.98 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03027/14.42, allocations: 3.929 MB / 4.896 GB, free: 73.94 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.277e-05/14.42, allocations: 7.844 kB / 4.896 GB, free: 73.94 MB / 0.9636 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.04321/14.47, allocations: 7.124 MB / 4.903 GB, free: 73.55 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002438/14.47, allocations: 10.56 MB / 4.913 GB, free: 62.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/14.47, allocations: 21.47 kB / 4.913 GB, free: 62.37 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/14.47, allocations: 47.75 kB / 4.913 GB, free: 62.37 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/14.49, allocations: 1.282 MB / 4.914 GB, free: 62.37 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001135/14.49, allocations: 57.64 kB / 4.914 GB, free: 62.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/14.5, allocations: 0.6712 MB / 4.915 GB, free: 62.15 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002032/14.5, allocations: 228.6 kB / 4.915 GB, free: 62.15 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/14.5, allocations: 6.375 kB / 4.915 GB, free: 62.15 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04253/14.54, allocations: 6.543 MB / 4.922 GB, free: 62.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.059e-05/14.54, allocations: 22.72 kB / 4.922 GB, free: 62.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.295e-05/14.54, allocations: 48.47 kB / 4.922 GB, free: 62.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01468/14.56, allocations: 1.274 MB / 4.923 GB, free: 62.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001251/14.56, allocations: 58.8 kB / 4.923 GB, free: 62.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01537/14.57, allocations: 0.6209 MB / 4.924 GB, free: 61.89 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003216/14.58, allocations: 224.7 kB / 4.924 GB, free: 61.89 MB / 0.9636 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.004901/14.58, allocations: 210.9 kB / 4.924 GB, free: 61.77 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005243/14.59, allocations: 0.5521 MB / 4.925 GB, free: 61.48 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0581/14.65, allocations: 7.425 MB / 4.932 GB, free: 61.24 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.715e-05/14.65, allocations: 47.03 kB / 4.932 GB, free: 61.24 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/14.65, allocations: 0 / 4.932 GB, free: 61.24 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03879/14.69, allocations: 5.809 MB / 4.938 GB, free: 60.99 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06691/14.75, allocations: 14.56 MB / 4.952 GB, free: 59.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/14.75, allocations: 10.94 kB / 4.952 GB, free: 59.92 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01324/14.77, allocations: 1.044 MB / 4.953 GB, free: 59.92 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.585e-05/14.77, allocations: 23.19 kB / 4.953 GB, free: 59.92 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001659/14.77, allocations: 100.8 kB / 4.953 GB, free: 59.92 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-05/14.77, allocations: 25.16 kB / 4.953 GB, free: 59.92 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/14.77, allocations: 10.22 kB / 4.953 GB, free: 59.92 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0494/14.82, allocations: 10.74 MB / 4.964 GB, free: 57.94 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05897/14.88, allocations: 14.43 MB / 4.978 GB, free: 55.57 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006847/14.88, allocations: 1.616 MB / 4.979 GB, free: 55.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003292/14.89, allocations: 26.14 kB / 4.979 GB, free: 55.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01312/14.9, allocations: 428.3 kB / 4.98 GB, free: 55.09 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001313/14.9, allocations: 245.5 kB / 4.98 GB, free: 55.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001158/14.9, allocations: 210.7 kB / 4.98 GB, free: 55.08 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0098/14.91, allocations: 3.545 MB / 4.984 GB, free: 54.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02418/14.94, allocations: 3.932 MB / 4.987 GB, free: 54.32 MB / 0.9636 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.005426/14.94, allocations: 1.539 MB / 4.989 GB, free: 54.08 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02796/14.97, allocations: 8.243 MB / 4.997 GB, free: 53.98 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.231e-05/14.97, allocations: 5.781 kB / 4.997 GB, free: 53.98 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.008683/14.98, allocations: 2.569 MB / 4.999 GB, free: 53.97 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02367/15, allocations: 2.442 MB / 5.002 GB, free: 53.92 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04495/15.05, allocations: 11.63 MB / 5.013 GB, free: 51.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01589/15.06, allocations: 5.124 MB / 5.018 GB, free: 50.73 MB / 0.9636 GB Notification: Performance of SimCode: time 1.522e-06/15.06, allocations: 0 / 5.018 GB, free: 50.73 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)