Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.00099/0.0009901, allocations: 185.2 kB / 316 MB, free: 3.5 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.327/1.327, allocations: 205.1 MB / 0.5667 GB, free: 15.58 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.001038/0.001038, allocations: 85.64 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3682/0.3692, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.5676, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.571/5.139, allocations: 2.476 GB / 3.36 GB, free: 289.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/5.139, allocations: 99.09 kB / 3.36 GB, free: 289.8 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 4.019/9.158, allocations: 1.449 GB / 4.81 GB, free: 89.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/9.158, allocations: 7.188 kB / 4.81 GB, free: 89.88 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/9.175, allocations: 2.703 MB / 4.812 GB, free: 89.44 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02337/9.199, allocations: 7.931 MB / 4.82 GB, free: 88.46 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004058/9.199, allocations: 191.8 kB / 4.82 GB, free: 88.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/9.202, allocations: 342 kB / 4.821 GB, free: 88.46 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01776/9.22, allocations: 6.946 MB / 4.827 GB, free: 88.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/9.243, allocations: 7.063 MB / 4.834 GB, free: 86.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003825/9.243, allocations: 11.34 kB / 4.834 GB, free: 86.12 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002465/9.246, allocations: 13.59 kB / 4.834 GB, free: 86.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/9.246, allocations: 270.2 kB / 4.834 GB, free: 86.09 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06412/9.31, allocations: 31.24 MB / 4.865 GB, free: 66.89 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/9.321, allocations: 4.673 MB / 4.87 GB, free: 65.12 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005836/9.327, allocations: 2.619 MB / 4.872 GB, free: 64.04 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002597/9.33, allocations: 2.418 MB / 4.874 GB, free: 61.46 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00751/9.337, allocations: 2.801 MB / 4.877 GB, free: 60.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=421): time 1.924e-05/9.337, allocations: 4.5 kB / 4.877 GB, free: 60.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=421): time 0.02796/9.365, allocations: 6.157 MB / 4.883 GB, free: 58.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/9.365, allocations: 386.3 kB / 4.884 GB, free: 58.01 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/9.377, allocations: 4.587 MB / 4.888 GB, free: 56.33 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001271/9.378, allocations: 28.98 kB / 4.888 GB, free: 56.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00347/9.382, allocations: 2.115 MB / 4.89 GB, free: 54.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003013/9.385, allocations: 1.372 MB / 4.892 GB, free: 53.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/9.386, allocations: 0.625 kB / 4.892 GB, free: 53.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0005154/9.387, allocations: 481 kB / 4.892 GB, free: 53.39 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/9.391, allocations: 2.087 MB / 4.894 GB, free: 52.53 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005599/9.397, allocations: 3.031 MB / 4.897 GB, free: 50.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01771/9.415, allocations: 3.933 MB / 4.901 GB, free: 49.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.538e-05/9.415, allocations: 6.062 kB / 4.901 GB, free: 49.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02674/9.442, allocations: 7.125 MB / 4.908 GB, free: 43.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002138/9.444, allocations: 10.56 MB / 4.918 GB, free: 32.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.426e-05/9.444, allocations: 24 kB / 4.918 GB, free: 32.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-05/9.444, allocations: 44 kB / 4.918 GB, free: 32.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007692/9.452, allocations: 1.295 MB / 4.919 GB, free: 30.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.196e-05/9.452, allocations: 51.86 kB / 4.919 GB, free: 30.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008087/9.46, allocations: 0.6671 MB / 4.92 GB, free: 30 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/9.461, allocations: 227.8 kB / 4.92 GB, free: 29.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/9.461, allocations: 4 kB / 4.92 GB, free: 29.77 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02216/9.484, allocations: 6.544 MB / 4.927 GB, free: 23.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.215e-05/9.484, allocations: 27.45 kB / 4.927 GB, free: 23.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.542e-05/9.484, allocations: 48 kB / 4.927 GB, free: 23.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00697/9.491, allocations: 1.279 MB / 4.928 GB, free: 21.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-05/9.491, allocations: 63.84 kB / 4.928 GB, free: 21.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007509/9.498, allocations: 0.6054 MB / 4.929 GB, free: 21.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/9.499, allocations: 231.8 kB / 4.929 GB, free: 20.97 MB / 0.8855 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.001878/9.501, allocations: 209.9 kB / 4.929 GB, free: 20.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/9.503, allocations: 0.5479 MB / 4.93 GB, free: 20.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02317/9.527, allocations: 7.428 MB / 4.937 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/9.527, allocations: 47.98 kB / 4.937 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/9.527, allocations: 4.781 kB / 4.937 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01732/9.544, allocations: 5.807 MB / 4.943 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03633/9.58, allocations: 14.51 MB / 4.957 GB, free: 8.332 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/9.58, allocations: 4 kB / 4.957 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006358/9.587, allocations: 1.045 MB / 4.958 GB, free: 7.281 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.545e-05/9.587, allocations: 27.98 kB / 4.958 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000521/9.587, allocations: 95.86 kB / 4.958 GB, free: 7.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.523e-05/9.588, allocations: 31.84 kB / 4.958 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/9.588, allocations: 7.938 kB / 4.958 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02669/9.614, allocations: 10.74 MB / 4.968 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3563/9.971, allocations: 14.43 MB / 4.983 GB, free: 211.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005553/9.976, allocations: 1.594 MB / 4.984 GB, free: 211.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002512/9.979, allocations: 23.69 kB / 4.984 GB, free: 211.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007037/9.986, allocations: 431.7 kB / 4.985 GB, free: 211.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004733/9.986, allocations: 245 kB / 4.985 GB, free: 211.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005368/9.987, allocations: 194.4 kB / 4.985 GB, free: 211.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.005438/9.992, allocations: 3.548 MB / 4.988 GB, free: 211.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01567/10.01, allocations: 3.926 MB / 4.992 GB, free: 211.1 MB / 0.9167 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.003174/10.01, allocations: 1.534 MB / 4.994 GB, free: 210.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01339/10.02, allocations: 8.242 MB / 5.002 GB, free: 210.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/10.02, allocations: 3.344 kB / 5.002 GB, free: 210.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/10.03, allocations: 2.57 MB / 5.004 GB, free: 210.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01271/10.04, allocations: 2.427 MB / 5.007 GB, free: 210.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/10.07, allocations: 11.65 MB / 5.018 GB, free: 208.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007847/10.07, allocations: 5.114 MB / 5.023 GB, free: 207.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.744e-06/10.07, allocations: 2.031 kB / 5.023 GB, free: 207.6 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)