Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon5R1C.TAir",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling") translateModel(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon5R1C.TAir",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ISO13790.Examples.HeatingCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.6 kB / 16.43 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 183.2 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.141/1.141, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.257/2.257, allocations: 469.8 MB / 0.7432 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.196e-05, allocations: 6.219 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ISO13790.Examples.HeatingCooling): time 0.4056/0.4056, allocations: 14.9 MB / 1.08 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1527/0.5584, allocations: 153.7 MB / 1.23 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.5609, allocations: 56.44 kB / 1.231 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.5623, allocations: 0.6014 MB / 1.231 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003336/0.5657, allocations: 1.44 MB / 1.233 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.5693, allocations: 2.229 MB / 1.235 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008766/0.5781, allocations: 12.36 MB / 1.247 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005492/0.5836, allocations: 4.983 MB / 1.252 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003508/0.5871, allocations: 3.937 MB / 1.255 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/0.5902, allocations: 4.016 MB / 1.259 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.5914, allocations: 1.273 MB / 1.261 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.5934, allocations: 1.656 MB / 1.262 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.005765/0.5991, allocations: 9.129 MB / 1.271 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.002821/0.602, allocations: 4.972 MB / 1.276 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.6032, allocations: 1.009 MB / 1.277 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of FrontEnd: time 0.0008196/0.604, allocations: 186.8 kB / 1.277 GB, free: 14.9 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2255 (1794) * Number of variables: 2255 (1002) Notification: Performance of Bindings: time 0.01835/0.6223, allocations: 23.5 MB / 1.3 GB, free: 6.965 MB / 1.014 GB Notification: Performance of FunctionAlias: time 0.003576/0.6259, allocations: 3.987 MB / 1.304 GB, free: 2.984 MB / 1.014 GB Notification: Performance of Early Inline: time 0.02126/0.6472, allocations: 23.77 MB / 1.327 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simplify1: time 0.003098/0.6503, allocations: 2.137 MB / 1.329 GB, free: 8.852 MB / 1.045 GB Notification: Performance of Alias: time 0.02119/0.6715, allocations: 18.83 MB / 1.348 GB, free: 4.812 MB / 1.061 GB Notification: Performance of simplify2: time 0.002252/0.6738, allocations: 1.78 MB / 1.349 GB, free: 2.93 MB / 1.061 GB Notification: Performance of Detect States: time 0.003758/0.6776, allocations: 4.49 MB / 1.354 GB, free: 14.36 MB / 1.076 GB Notification: Performance of Events: time 0.003645/0.6812, allocations: 3.698 MB / 1.357 GB, free: 10.73 MB / 1.076 GB Notification: Performance of Partitioning: time 0.0063/0.6875, allocations: 6.143 MB / 1.363 GB, free: 4.328 MB / 1.076 GB Notification: Performance of Causalize: time 0.06311/0.7507, allocations: 81.89 MB / 1.443 GB, free: 96 kB / 1.139 GB Notification: Performance of After Index Reduction Inline: time 0.01674/0.7674, allocations: 17.42 MB / 1.46 GB, free: 14.54 MB / 1.17 GB Notification: Performance of Inline: time 0.03526/0.8027, allocations: 34.98 MB / 1.495 GB, free: 11.39 MB / 1.201 GB Notification: Performance of Partitioning: time 0.001629/0.8044, allocations: 407.6 kB / 1.495 GB, free: 10.95 MB / 1.201 GB Notification: Performance of Cleanup: time 0.008854/0.8133, allocations: 6.593 MB / 1.501 GB, free: 4.348 MB / 1.201 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(16) {zon5R1C.opa.HDifTil[1].incAng.decAng.tNext, zon5R1C.opa.HDifTil[2].incAng.decAng.tNext, zon5R1C.opa.HDifTil[3].incAng.decAng.tNext, zon5R1C.opa.HDifTil[4].incAng.decAng.tNext}, does not fit the equation size 4. Error: Internal error NBSlice.resolveDependency failed for: zon5R1C.opa.HDifTil.incAng.decAng.tNext. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (4) ($RES_SIM_121) [----] for $i1 in 1:4 loop [----] [ALGO] (4) ($RES_SIM_122) [----] [----] zon5R1C.opa.HDifTil[$i1].incAng.decAng.tNext := if zon5R1C.opa.HDifTil[$i1].incAng.decAng.canRepeatWeatherFile then integer(zon5R1C.opa.HDifTil[$i1].incAng.decAng.modTimAux / zon5R1C.opa.HDifTil[$i1].incAng.decAng.lenWea) * zon5R1C.opa.HDifTil[$i1].incAng.decAng.lenWea + zon5R1C.opa.HDifTil[$i1].incAng.decAng.lenWea else time; [----] end for; Error: Internal error NBInitialization.main failed to apply modules!