Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33: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/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005713/0.0005713, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004057/0.0004057, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.3718/0.3718, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.459/0.459, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_RadiativeHeatTransfer_Examples_ZoneLwDistribution",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.907e-06/3.907e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/2.181e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.Examples.ZoneLwDistribution): time 0.004983/0.005005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004646/0.009651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.009951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.01026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.01081, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Buildings/Components/BaseClasses/RadiativeHeatTransfer/ZoneLwDistributionViewFactor.mo:118:5-165:11:writable] Warning: In relation zonLwVieFac.lWall == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Buildings/Components/BaseClasses/RadiativeHeatTransfer/ZoneLwDistributionViewFactor.mo:139:11-163:17:writable] Warning: In relation zonLwVieFac.Atot[i] == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Buildings/Components/BaseClasses/RadiativeHeatTransfer/ZoneLwDistributionViewFactor.mo:139:11-163:17:writable] Warning: In relation zonLwVieFac.Atot[j] == 0.0, == on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.01271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002009/0.01471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.01579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.01781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.01991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003999/0.02031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.02106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006698/0.02173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001487/0.02322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003932/0.02715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002301/0.02738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 6.553e-06/0.02739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.322e-05/0.02741, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0125/0.03992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001317/0.04005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005953/0.04064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004034/0.04468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.004159/0.04884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.04913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006336/0.04976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.004249/0.05401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/0.05405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/0.05428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.05431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.05825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/0.0761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.07823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.08016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.08021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.08033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=53): time 0.0001147/0.08044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=53): time 0.008933/0.08937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004257/0.0898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/0.09448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000936/0.09542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0009358/0.09635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.09674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002633/0.09937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0005086/0.09988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.008637/0.1085, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.009426/0.1179, allocations: 0 / 0, free: 0 / 0 Error: Internal error BackendDAE.adjacencyRowEnhanced failed for eqn: algorithm zonLwVieFac.Atot := {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; for i in 1:6 loop if noEvent(abs(mod(zonLwVieFac.inc[i], 6.283185307179586) - mod(zonLwVieFac.incCeiling, 6.283185307179586)) < 0.01) then zonLwVieFac.Atot[1] := zonLwVieFac.Atot[1] + zonLwVieFac.A[i]; elseif noEvent(abs(mod(zonLwVieFac.inc[i], 6.283185307179586) - mod(zonLwVieFac.incFloor, 6.283185307179586)) < 0.01) then zonLwVieFac.Atot[2] := zonLwVieFac.Atot[2] + zonLwVieFac.A[i]; elseif noEvent(abs(mod(zonLwVieFac.inc[i], 6.283185307179586) - mod(zonLwVieFac.incWall, 6.283185307179586)) < 0.01) or noEvent(abs(mod(zonLwVieFac.inc[i], 6.283185307179586) - mod(3.141592653589793 + zonLwVieFac.incWall, 6.283185307179586)) < 0.01) then for j in 0:3 loop if noEvent(abs(mod(zonLwVieFac.azi[i], 6.283185307179586) - mod(zonLwVieFac.aziSouth + 1.5707963267948966 * /*Real*/(j), 6.283185307179586)) < 0.01) then zonLwVieFac.Atot[3 + j] := zonLwVieFac.Atot[3 + j] + zonLwVieFac.A[i]; break; end if; end for; else Modelica.Utilities.Streams.error(\"Could not find matching orientation for surface with index \" + String(i, 0, true) + \". Avoid this error by disabling explicit view factor calculation in the zone model\"); end if; end for; assert(zonLwVieFac.Atot[1] > 0.0, \"Zone contains no ceiling surfaces. This needs to be fixed or explicit view factor calculation should be disabled.\"); assert(zonLwVieFac.Atot[2] > 0.0, \"Zone contains no floor surfaces. This needs to be fixed or explicit view factor calculation should be disabled.\"); zonLwVieFac.vieFacTot[1,1] := 0.0; zonLwVieFac.vieFacTot[2,2] := 0.0; zonLwVieFac.vieFacTot[1,2] := IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.viewFactorRectRectPar((zonLwVieFac.Atot[1] + zonLwVieFac.Atot[2]) / 2.0, zonLwVieFac.hZone, (zonLwVieFac.A[3] + zonLwVieFac.A[5]) / zonLwVieFac.hZone / 2.0); zonLwVieFac.vieFacTot[2,1] := zonLwVieFac.vieFacTot[1,2] * zonLwVieFac.Atot[1] / zonLwVieFac.Atot[2]; for i in 3:6 loop zonLwVieFac.lWall := zonLwVieFac.Atot[i] / zonLwVieFac.hZone; if noEvent(zonLwVieFac.lWall == 0.0) then for j in 1:6 loop zonLwVieFac.vieFacTot[j,i] := 0.0; zonLwVieFac.vieFacTot[i,j] := 0.0; end for; else zonLwVieFac.vieFacTot[1,i] := IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.viewFactorRectRectPerp(zonLwVieFac.hZone, zonLwVieFac.Atot[1] / zonLwVieFac.lWall, zonLwVieFac.lWall); zonLwVieFac.vieFacTot[i,1] := zonLwVieFac.vieFacTot[1,i] * zonLwVieFac.Atot[1] / zonLwVieFac.Atot[i]; zonLwVieFac.vieFacTot[2,i] := IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.viewFactorRectRectPerp(zonLwVieFac.hZone, zonLwVieFac.Atot[2] / zonLwVieFac.lWall, zonLwVieFac.lWall); zonLwVieFac.vieFacTot[i,2] := zonLwVieFac.vieFacTot[2,i] * zonLwVieFac.Atot[2] / zonLwVieFac.Atot[i]; for j in i:6 loop if i == j then zonLwVieFac.vieFacTot[i,i] := 0.0; elseif noEvent(zonLwVieFac.Atot[i] == 0.0) or noEvent(zonLwVieFac.Atot[j] == 0.0) then zonLwVieFac.vieFacTot[i,j] := 0.0; zonLwVieFac.vieFacTot[j,i] := 0.0; elseif abs(i - j) == 1 or abs(i - j) == 3 then zonLwVieFac.vieFacTot[i,j] := IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.viewFactorRectRectPerp(zonLwVieFac.Atot[j] / zonLwVieFac.hZone, zonLwVieFac.Atot[i] / zonLwVieFac.hZone, zonLwVieFac.hZone); zonLwVieFac.vieFacTot[j,i] := zonLwVieFac.vieFacTot[i,j] * zonLwVieFac.Atot[i] / zonLwVieFac.Atot[j]; elseif abs(i - j) == 2 then zonLwVieFac.vieFacTot[i,j] := IDEAS.Buildings.Components.BaseClasses.RadiativeHeatTransfer.viewFactorRectRectPar((zonLwVieFac.Atot[i] + zonLwVieFac.Atot[j]) / 2.0, zonLwVieFac.Atot[integer(/*Real*/(i + j) / 2.0)] / zonLwVieFac.hZone, zonLwVieFac.hZone); zonLwVieFac.vieFacTot[j,i] := zonLwVieFac.vieFacTot[i,j] * zonLwVieFac.Atot[i] / zonLwVieFac.Atot[j]; end if; end for; end if; end for; for i in 1:6 loop zonLwVieFac.Afloor[i] := 0.0; if noEvent(abs(mod(zonLwVieFac.inc[i], 6.283185307179586) - mod(zonLwVieFac.incCeiling, 6.283185307179586)) < 0.01) then zonLwVieFac.index1 := 1; elseif noEvent(abs(mod(zonLwVieFac.inc[i], 6.283185307179586) - mod(zonLwVieFac.incFloor, 6.283185307179586)) < 0.01) then zonLwVieFac.index1 := 2; zonLwVieFac.Afloor[i] := zonLwVieFac.A[i]; elseif noEvent(abs(mod(zonLwVieFac.inc[i], 6.283185307179586) - mod(zonLwVieFac.incWall, 6.283185307179586)) < 0.01) then for k in 0:3 loop if noEvent(abs(mod(zonLwVieFac.azi[i], 6.283185307179586) - mod(zonLwVieFac.aziSouth + 1.5707963267948966 * /*Real*/(k), 6.283185307179586)) < 0.01) then zonLwVieFac.index1 := 2 + k + 1; break; end if; end for; end if; for j in i:6 loop if i == j then zonLwVieFac.vieFac[i,j] := 0.0; else if noEvent(abs(mod(zonLwVieFac.inc[j], 6.283185307179586) - mod(zonLwVieFac.incCeiling, 6.283185307179586)) < 0.01) then zonLwVieFac.index2 := 1; elseif noEvent(abs(mod(zonLwVieFac.inc[j], 6.283185307179586) - mod(zonLwVieFac.incFloor, 6.283185307179586)) < 0.01) then zonLwVieFac.index2 := 2; elseif noEvent(abs(mod(zonLwVieFac.inc[j], 6.283185307179586) - mod(zonLwVieFac.incWall, 6.283185307179586)) < 0.01) then for k in 0:3 loop if noEvent(abs(mod(zonLwVieFac.azi[j], 6.283185307179586) - mod(zonLwVieFac.aziSouth + 1.5707963267948966 * /*Real*/(k), 6.283185307179586)) < 0.01) then zonLwVieFac.index2 := 2 + k + 1; break; end if; end for; end if; zonLwVieFac.Umat[i,j] := if zonLwVieFac.vieFacTot[zonLwVieFac.index1,zonLwVieFac.index2] < 2.2250738585072014e-308 then 0.0 else 5.6703744191844314e-8 / (1.0 / zonLwVieFac.A[i] / (zonLwVieFac.vieFacTot[zonLwVieFac.index1,zonLwVieFac.index2] * zonLwVieFac.A[j] / zonLwVieFac.Atot[zonLwVieFac.index2]) + (1.0 - zonLwVieFac.epsLw[i]) / zonLwVieFac.A[i] / zonLwVieFac.epsLw[i] + (1.0 - zonLwVieFac.epsLw[j]) / zonLwVieFac.A[j] / zonLwVieFac.epsLw[j]); zonLwVieFac.Umat[j,i] := if zonLwVieFac.vieFacTot[zonLwVieFac.index2,zonLwVieFac.index1] < 2.2250738585072014e-308 then 0.0 else 5.6703744191844314e-8 / (1.0 / zonLwVieFac.A[j] / (zonLwVieFac.vieFacTot[zonLwVieFac.index2,zonLwVieFac.index1] * zonLwVieFac.A[i] / zonLwVieFac.Atot[zonLwVieFac.index1]) + (1.0 - zonLwVieFac.epsLw[i]) / zonLwVieFac.A[i] / zonLwVieFac.epsLw[i] + (1.0 - zonLwVieFac.epsLw[j]) / zonLwVieFac.A[j] / zonLwVieFac.epsLw[j]); end if; end for; end for; zonLwVieFac.Umat := {{zonLwVieFac.Umat[1,1] - (zonLwVieFac.Umat[1,1] + zonLwVieFac.Umat[1,2] + zonLwVieFac.Umat[1,3] + zonLwVieFac.Umat[1,4] + zonLwVieFac.Umat[1,5] + zonLwVieFac.Umat[1,6]), zonLwVieFac.Umat[1,2], zonLwVieFac.Umat[1,3], zonLwVieFac.Umat[1,4], zonLwVieFac.Umat[1,5], zonLwVieFac.Umat[1,6]}, {zonLwVieFac.Umat[2,1], zonLwVieFac.Umat[2,2] - (zonLwVieFac.Umat[2,1] + zonLwVieFac.Umat[2,2] + zonLwVieFac.Umat[2,3] + zonLwVieFac.Umat[2,4] + zonLwVieFac.Umat[2,5] + zonLwVieFac.Umat[2,6]), zonLwVieFac.Umat[2,3], zonLwVieFac.Umat[2,4], zonLwVieFac.Umat[2,5], zonLwVieFac.Umat[2,6]}, {zonLwVieFac.Umat[3,1], zonLwVieFac.Umat[3,2], zonLwVieFac.Umat[3,3] - (zonLwVieFac.Umat[3,1] + zonLwVieFac.Umat[3,2] + zonLwVieFac.Umat[3,3] + zonLwVieFac.Umat[3,4] + zonLwVieFac.Umat[3,5] + zonLwVieFac.Umat[3,6]), zonLwVieFac.Umat[3,4], zonLwVieFac.Umat[3,5], zonLwVieFac.Umat[3,6]}, {zonLwVieFac.Umat[4,1], zonLwVieFac.Umat[4,2], zonLwVieFac.Umat[4,3], zonLwVieFac.Umat[4,4] - (zonLwVieFac.Umat[4,1] + zonLwVieFac.Umat[4,2] + zonLwVieFac.Umat[4,3] + zonLwVieFac.Umat[4,4] + zonLwVieFac.Umat[4,5] + zonLwVieFac.Umat[4,6]), zonLwVieFac.Umat[4,5], zonLwVieFac.Umat[4,6]}, {zonLwVieFac.Umat[5,1], zonLwVieFac.Umat[5,2], zonLwVieFac.Umat[5,3], zonLwVieFac.Umat[5,4], zonLwVieFac.Umat[5,5] - (zonLwVieFac.Umat[5,1] + zonLwVieFac.Umat[5,2] + zonLwVieFac.Umat[5,3] + zonLwVieFac.Umat[5,4] + zonLwVieFac.Umat[5,5] + zonLwVieFac.Umat[5,6]), zonLwVieFac.Umat[5,6]}, {zonLwVieFac.Umat[6,1], zonLwVieFac.Umat[6,2], zonLwVieFac.Umat[6,3], zonLwVieFac.Umat[6,4], zonLwVieFac.Umat[6,5], zonLwVieFac.Umat[6,6] - (zonLwVieFac.Umat[6,1] + zonLwVieFac.Umat[6,2] + zonLwVieFac.Umat[6,3] + zonLwVieFac.Umat[6,4] + zonLwVieFac.Umat[6,5] + zonLwVieFac.Umat[6,6])}}; Error: Internal error BackendDAEUtil.getAdjacencyMatrixEnhancedScalar failed Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.025817858055234]