Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") [: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.326/2.326, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001567/0.001567, allocations: 189.2 kB / 360.4 MB, free: 7.531 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.731/1.731, allocations: 205.1 MB / 0.6188 GB, free: 13.17 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.00129/0.001289, allocations: 87.25 kB / 0.7318 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.178e-05/1.195e-05, allocations: 4 kB / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6302, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.654, allocations: 442.2 MB / 1.395 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.654, allocations: 91.89 kB / 1.395 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.063/4.717, allocations: 0.6937 GB / 2.088 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003588/4.717, allocations: 37.95 kB / 2.088 GB, free: 178.3 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005963/4.723, allocations: 1.729 MB / 2.09 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/4.723, allocations: 8.375 kB / 2.09 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/4.726, allocations: 370 kB / 2.09 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03116/4.758, allocations: 8.594 MB / 2.099 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/4.758, allocations: 29.19 kB / 2.099 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/4.758, allocations: 52.88 kB / 2.099 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002171/4.76, allocations: 0.6251 MB / 2.1 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/4.763, allocations: 0.8495 MB / 2.1 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/4.763, allocations: 1.188 kB / 2.1 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/4.763, allocations: 4.719 kB / 2.1 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/4.763, allocations: 19.19 kB / 2.1 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/4.773, allocations: 4.781 MB / 2.105 GB, free: 174.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/4.775, allocations: 449.5 kB / 2.105 GB, free: 174 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/4.775, allocations: 237.9 kB / 2.106 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003732/4.779, allocations: 1.654 MB / 2.107 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008314/4.78, allocations: 362.7 kB / 2.108 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 3.126e-06/4.78, allocations: 0 / 2.108 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.003083/4.783, allocations: 0.6896 MB / 2.108 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/4.783, allocations: 120 kB / 2.108 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/4.785, allocations: 0.9626 MB / 2.109 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/4.785, allocations: 35.86 kB / 2.109 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/4.786, allocations: 434.8 kB / 2.11 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/4.786, allocations: 161.8 kB / 2.11 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/4.786, allocations: 0 / 2.11 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.215e-05/4.786, allocations: 328.7 kB / 2.11 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/4.787, allocations: 210.2 kB / 2.111 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/4.787, allocations: 491.6 kB / 2.111 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/4.789, allocations: 354.3 kB / 2.111 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/4.789, allocations: 0 / 2.111 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003074/4.792, allocations: 0.8687 MB / 2.112 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005693/4.793, allocations: 2.736 MB / 2.115 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/4.793, allocations: 7.75 kB / 2.115 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/4.793, allocations: 72.67 kB / 2.115 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/4.795, allocations: 168.4 kB / 2.115 GB, free: 167 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009322/4.795, allocations: 1.146 MB / 2.116 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/4.797, allocations: 110 kB / 2.116 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/4.797, allocations: 46.11 kB / 2.116 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/4.797, allocations: 3.969 kB / 2.116 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002601/4.8, allocations: 0.6691 MB / 2.117 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/4.8, allocations: 9.875 kB / 2.117 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/4.8, allocations: 73.97 kB / 2.117 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/4.802, allocations: 158.3 kB / 2.117 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009149/4.802, allocations: 1.147 MB / 2.118 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/4.804, allocations: 103.3 kB / 2.118 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/4.804, allocations: 40.36 kB / 2.118 GB, free: 164.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003304/4.805, allocations: 166.6 kB / 2.119 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/4.805, allocations: 133.5 kB / 2.119 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/4.808, allocations: 0.876 MB / 2.12 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/4.808, allocations: 14.83 kB / 2.12 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/4.808, allocations: 0 / 2.12 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/4.808, allocations: 2.25 kB / 2.12 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/4.813, allocations: 1.828 MB / 2.121 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/4.813, allocations: 6.062 kB / 2.121 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/4.814, allocations: 107 kB / 2.122 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003328/4.815, allocations: 72.59 kB / 2.122 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.739e-05/4.815, allocations: 13.61 kB / 2.122 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009548/4.816, allocations: 1.154 MB / 2.123 GB, free: 162 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/4.816, allocations: 0 / 2.123 GB, free: 162 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002509/4.818, allocations: 0.9903 MB / 2.124 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/4.819, allocations: 306.2 kB / 2.124 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/4.82, allocations: 6.625 kB / 2.124 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/4.821, allocations: 84.89 kB / 2.124 GB, free: 161.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/4.821, allocations: 32.56 kB / 2.124 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/4.821, allocations: 37.3 kB / 2.124 GB, free: 161.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001608/4.823, allocations: 0.7404 MB / 2.125 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003493/4.826, allocations: 0.753 MB / 2.126 GB, free: 160.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002394/4.829, allocations: 0.9756 MB / 2.127 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002827/4.832, allocations: 1.002 MB / 2.128 GB, free: 160 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/4.832, allocations: 5.656 kB / 2.128 GB, free: 160 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009168/4.833, allocations: 347.9 kB / 2.128 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/4.837, allocations: 0.5072 MB / 2.128 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/4.843, allocations: 1.676 MB / 2.13 GB, free: 159 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/4.844, allocations: 1.353 MB / 2.131 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.204e-06/4.844, allocations: 1.531 kB / 2.131 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.08292/4.927, allocations: 30.36 MB / 2.161 GB, free: 151 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)