Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.374/2.374, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001704/0.001704, allocations: 181.2 kB / 360.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.2 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.0012, allocations: 88.17 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.237e-05/1.253e-05, allocations: 4 kB / 0.8502 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6605/0.6606, allocations: 115.2 MB / 0.9628 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.732, allocations: 485.7 MB / 1.437 GB, free: 81.66 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.732, allocations: 91.8 kB / 1.437 GB, free: 81.62 MB / 0.8542 GB Notification: Performance of FrontEnd: time 25.99/27.72, allocations: 5.395 GB / 6.832 GB, free: 49.5 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003303/27.73, allocations: 320.7 kB / 6.832 GB, free: 49.44 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.04237/27.77, allocations: 10.66 MB / 6.843 GB, free: 44.33 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/27.77, allocations: 6.938 kB / 6.843 GB, free: 44.33 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02348/27.79, allocations: 2.628 MB / 6.845 GB, free: 43.52 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08832/27.88, allocations: 19.28 MB / 6.864 GB, free: 40.93 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007929/27.88, allocations: 237.6 kB / 6.864 GB, free: 40.93 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003297/27.89, allocations: 446 kB / 6.865 GB, free: 40.93 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02312/27.91, allocations: 5.629 MB / 6.87 GB, free: 39.25 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0301/27.94, allocations: 7.309 MB / 6.877 GB, free: 35.83 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003021/27.94, allocations: 25.22 kB / 6.877 GB, free: 35.81 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001733/27.94, allocations: 18.08 kB / 6.877 GB, free: 35.81 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002712/27.94, allocations: 204.5 kB / 6.878 GB, free: 35.8 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09693/28.04, allocations: 47.49 MB / 6.924 GB, free: 7.531 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00617/28.05, allocations: 2.06 MB / 6.926 GB, free: 5.469 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005367/28.05, allocations: 2.024 MB / 6.928 GB, free: 3.441 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03241/28.08, allocations: 9.486 MB / 6.937 GB, free: 9.27 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006568/28.09, allocations: 1.883 MB / 6.939 GB, free: 7.355 MB / 1.245 GB Notification: Performance of pre-optimization done (n=339): time 8.847e-06/28.09, allocations: 3.938 kB / 6.939 GB, free: 7.352 MB / 1.245 GB Notification: Performance of matching and sorting (n=339): time 0.01976/28.11, allocations: 4.456 MB / 6.943 GB, free: 2.82 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/28.11, allocations: 86.08 kB / 6.943 GB, free: 2.723 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7744/28.88, allocations: 7.679 MB / 6.951 GB, free: 171.5 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.00141/28.89, allocations: 37.42 kB / 6.951 GB, free: 171.5 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.005778/28.89, allocations: 3.224 MB / 6.954 GB, free: 171.3 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.004022/28.9, allocations: 1.127 MB / 6.955 GB, free: 170.9 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004956/28.9, allocations: 0 / 6.955 GB, free: 170.9 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0003594/28.9, allocations: 491.8 kB / 6.956 GB, free: 170.6 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00398/28.9, allocations: 1.496 MB / 6.957 GB, free: 170.6 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005265/28.91, allocations: 3.585 MB / 6.961 GB, free: 168 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009866/28.92, allocations: 2.43 MB / 6.963 GB, free: 167.9 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.14e-05/28.92, allocations: 14.16 kB / 6.963 GB, free: 167.9 MB / 1.245 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02356/28.94, allocations: 6.011 MB / 6.969 GB, free: 167.2 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.006501/28.95, allocations: 31.11 MB / 6.999 GB, free: 134.1 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002828/28.95, allocations: 57.84 kB / 6.999 GB, free: 134.1 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/28.95, allocations: 498 kB / 7 GB, free: 134 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009454/28.96, allocations: 1.132 MB / 7.001 GB, free: 134 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00812/28.97, allocations: 8.229 MB / 7.009 GB, free: 127.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01557/28.98, allocations: 0.8846 MB / 7.01 GB, free: 127.2 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/28.98, allocations: 273.5 kB / 7.01 GB, free: 127.2 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/28.98, allocations: 3.438 kB / 7.01 GB, free: 127.2 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01848/29, allocations: 4.797 MB / 7.015 GB, free: 127 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000167/29, allocations: 53.22 kB / 7.015 GB, free: 127 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/29, allocations: 0.49 MB / 7.015 GB, free: 126.9 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008907/29.01, allocations: 1.093 MB / 7.016 GB, free: 126.9 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008147/29.02, allocations: 8.227 MB / 7.024 GB, free: 120.2 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01434/29.04, allocations: 0.785 MB / 7.025 GB, free: 120.1 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/29.04, allocations: 253.4 kB / 7.025 GB, free: 120.1 MB / 1.245 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002033/29.04, allocations: 299.5 kB / 7.026 GB, free: 120 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003608/29.04, allocations: 0.9644 MB / 7.027 GB, free: 119.5 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02218/29.07, allocations: 5.251 MB / 7.032 GB, free: 119.2 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.287e-05/29.07, allocations: 48.64 kB / 7.032 GB, free: 119.2 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/29.07, allocations: 0 / 7.032 GB, free: 119.2 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01272/29.08, allocations: 3.527 MB / 7.035 GB, free: 119 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04353/29.12, allocations: 11.52 MB / 7.046 GB, free: 118.3 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/29.12, allocations: 0 / 7.046 GB, free: 118.3 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007324/29.13, allocations: 0.7291 MB / 7.047 GB, free: 118.3 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/29.13, allocations: 425.8 kB / 7.048 GB, free: 118.2 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008261/29.13, allocations: 69.09 kB / 7.048 GB, free: 118.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007895/29.14, allocations: 8.145 MB / 7.056 GB, free: 111.5 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/29.14, allocations: 5 kB / 7.056 GB, free: 111.5 MB / 1.245 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0224/29.16, allocations: 6.952 MB / 7.062 GB, free: 110.4 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008409/29.17, allocations: 1.769 MB / 7.064 GB, free: 109.8 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004181/29.17, allocations: 12.58 kB / 7.064 GB, free: 109.8 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01407/29.19, allocations: 0.5987 MB / 7.065 GB, free: 109.8 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/29.19, allocations: 197.7 kB / 7.065 GB, free: 109.8 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009273/29.19, allocations: 201.4 kB / 7.065 GB, free: 109.8 MB / 1.245 GB Notification: Performance of sort global known variables: time 0.02052/29.21, allocations: 5.761 MB / 7.071 GB, free: 109.5 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.04832/29.26, allocations: 5.622 MB / 7.076 GB, free: 109.2 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02208/29.28, allocations: 6.504 MB / 7.083 GB, free: 106.4 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.03152/29.31, allocations: 7.365 MB / 7.09 GB, free: 105.9 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-05/29.31, allocations: 4.219 kB / 7.09 GB, free: 105.9 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.009408/29.32, allocations: 2.108 MB / 7.092 GB, free: 105.7 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05532/29.38, allocations: 4.516 MB / 7.096 GB, free: 105.6 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0709/29.45, allocations: 15.31 MB / 7.111 GB, free: 102.2 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02146/29.47, allocations: 6.497 MB / 7.118 GB, free: 101.3 MB / 1.245 GB Notification: Performance of SimCode: time 1.713e-06/29.47, allocations: 0 / 7.118 GB, free: 101.3 MB / 1.245 GB Notification: Performance of Templates: time 0.633/30.1, allocations: 224.1 MB / 7.336 GB, free: 84.15 MB / 1.245 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)