Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.383/1.383, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009489/0.0009487, allocations: 185.3 kB / 361.1 MB, free: 7.086 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.236/1.236, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009179/0.0009175, allocations: 95.25 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2557/0.2567, allocations: 121.4 MB / 0.8511 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5884/0.8451, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.073/4.918, allocations: 2.358 GB / 3.322 GB, free: 164 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/4.919, allocations: 88.7 kB / 3.322 GB, free: 163.9 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 4.315/9.234, allocations: 1.484 GB / 4.806 GB, free: 119.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/9.234, allocations: 8.5 kB / 4.806 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/9.251, allocations: 2.706 MB / 4.808 GB, free: 117 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/9.272, allocations: 7.959 MB / 4.816 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/9.272, allocations: 188 kB / 4.816 GB, free: 108.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002538/9.275, allocations: 336 kB / 4.816 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01587/9.291, allocations: 6.946 MB / 4.823 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/9.309, allocations: 7.129 MB / 4.83 GB, free: 94.28 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/9.309, allocations: 15.88 kB / 4.83 GB, free: 94.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001838/9.311, allocations: 11.98 kB / 4.83 GB, free: 94.25 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001943/9.311, allocations: 271.2 kB / 4.831 GB, free: 93.99 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05111/9.362, allocations: 31.32 MB / 4.861 GB, free: 61.91 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006932/9.369, allocations: 4.663 MB / 4.866 GB, free: 57.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003528/9.373, allocations: 2.619 MB / 4.868 GB, free: 54.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/9.375, allocations: 2.403 MB / 4.871 GB, free: 51.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004408/9.379, allocations: 2.86 MB / 4.873 GB, free: 48.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=421): time 6.162e-06/9.379, allocations: 0 / 4.873 GB, free: 48.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=421): time 0.01989/9.399, allocations: 6.163 MB / 4.879 GB, free: 42.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/9.399, allocations: 381.4 kB / 4.88 GB, free: 42.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007526/9.407, allocations: 4.589 MB / 4.884 GB, free: 37.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000611/9.408, allocations: 29.73 kB / 4.884 GB, free: 37.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002126/9.41, allocations: 2.129 MB / 4.886 GB, free: 35.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/9.411, allocations: 1.366 MB / 4.888 GB, free: 34.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/9.412, allocations: 0 / 4.888 GB, free: 34.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002396/9.412, allocations: 483.5 kB / 4.888 GB, free: 33.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/9.415, allocations: 2.086 MB / 4.89 GB, free: 31.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/9.419, allocations: 3.037 MB / 4.893 GB, free: 28.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/9.433, allocations: 3.934 MB / 4.897 GB, free: 24.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.461e-05/9.433, allocations: 8 kB / 4.897 GB, free: 24.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02237/9.456, allocations: 7.121 MB / 4.904 GB, free: 16.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001617/9.457, allocations: 10.56 MB / 4.914 GB, free: 5.492 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/9.458, allocations: 24 kB / 4.914 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.169e-05/9.458, allocations: 48 kB / 4.914 GB, free: 5.422 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006778/9.464, allocations: 1.279 MB / 4.916 GB, free: 4.141 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.396e-05/9.464, allocations: 55.84 kB / 4.916 GB, free: 4.086 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007287/9.472, allocations: 0.6758 MB / 4.916 GB, free: 3.406 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007867/9.473, allocations: 227.8 kB / 4.916 GB, free: 3.184 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/9.473, allocations: 4 kB / 4.916 GB, free: 3.18 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01986/9.492, allocations: 6.547 MB / 4.923 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.592e-05/9.493, allocations: 20 kB / 4.923 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.192e-05/9.493, allocations: 48 kB / 4.923 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006833/9.499, allocations: 1.28 MB / 4.924 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.243e-05/9.5, allocations: 55.86 kB / 4.924 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007044/9.507, allocations: 0.617 MB / 4.925 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007236/9.507, allocations: 228.3 kB / 4.925 GB, free: 10.37 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.001224/9.509, allocations: 207.7 kB / 4.925 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00204/9.511, allocations: 0.5479 MB / 4.926 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02575/9.536, allocations: 7.436 MB / 4.933 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/9.536, allocations: 47.91 kB / 4.933 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/9.536, allocations: 3.984 kB / 4.933 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01998/9.556, allocations: 5.796 MB / 4.939 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3617/9.918, allocations: 14.56 MB / 4.953 GB, free: 245.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/9.918, allocations: 7.875 kB / 4.953 GB, free: 245.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005931/9.924, allocations: 1.05 MB / 4.954 GB, free: 245.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.023e-05/9.924, allocations: 19.59 kB / 4.954 GB, free: 245.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004106/9.925, allocations: 98.41 kB / 4.954 GB, free: 245.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-05/9.925, allocations: 25.7 kB / 4.954 GB, free: 245.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/9.925, allocations: 10.28 kB / 4.954 GB, free: 245.4 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02312/9.948, allocations: 10.74 MB / 4.965 GB, free: 243.8 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02759/9.975, allocations: 14.43 MB / 4.979 GB, free: 241.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004309/9.98, allocations: 1.622 MB / 4.98 GB, free: 241.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002055/9.982, allocations: 23.03 kB / 4.98 GB, free: 241.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006848/9.989, allocations: 428.9 kB / 4.981 GB, free: 241.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/9.989, allocations: 242.9 kB / 4.981 GB, free: 241.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007008/9.99, allocations: 209.2 kB / 4.981 GB, free: 241.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.006585/9.997, allocations: 3.547 MB / 4.985 GB, free: 241.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01586/10.01, allocations: 3.922 MB / 4.988 GB, free: 240.8 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.003988/10.02, allocations: 1.547 MB / 4.99 GB, free: 240.7 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0147/10.03, allocations: 8.245 MB / 4.998 GB, free: 240.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/10.03, allocations: 4.531 kB / 4.998 GB, free: 240.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004457/10.04, allocations: 2.564 MB / 5.001 GB, free: 240.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01314/10.05, allocations: 2.438 MB / 5.003 GB, free: 240.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/10.08, allocations: 11.64 MB / 5.014 GB, free: 238.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00891/10.09, allocations: 5.121 MB / 5.019 GB, free: 237.4 MB / 0.9792 GB Notification: Performance of SimCode: time 1.513e-06/10.09, allocations: 0 / 5.019 GB, free: 237.4 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)