Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 111 kB / 16.42 MB, free: 6.527 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.001088/0.001088, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.23/1.23, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.288/2.288, allocations: 469.8 MB / 0.7431 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/1.962e-05, allocations: 9.812 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00478/0.004808, allocations: 4.361 MB / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004389/0.00921, allocations: 2.948 MB / 1.073 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/0.009764, allocations: 23.81 kB / 1.073 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.01072, allocations: 365.7 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.01202, allocations: 0.6546 MB / 1.074 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.01339, allocations: 0.6306 MB / 1.075 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.01512, allocations: 1.799 MB / 1.076 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.01531, allocations: 93.5 kB / 1.076 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006524/0.01598, allocations: 0.5957 MB / 1.077 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.01653, allocations: 0.5446 MB / 1.077 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.01663, allocations: 52 kB / 1.078 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000894/0.01754, allocations: 0.659 MB / 1.078 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.444/0.4616, allocations: 1.699 MB / 1.08 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.001098/0.4627, allocations: 1.052 MB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005596/0.4633, allocations: 119.9 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001907/0.4635, allocations: 19.69 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 (84) * Number of variables: 104 (76) Notification: Performance of Bindings: time 0.003882/0.4674, allocations: 3.977 MB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0003316/0.4677, allocations: 257.3 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0008351/0.4686, allocations: 0.8661 MB / 1.086 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001956/0.4688, allocations: 157.4 kB / 1.086 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of Alias: time 0.001652/0.4704, allocations: 1.241 MB / 1.087 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001043/0.4705, allocations: 111.5 kB / 1.087 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004698/0.471, allocations: 258.7 kB / 1.088 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of Events: time 0.0001253/0.4711, allocations: 88.7 kB / 1.088 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002156/0.4714, allocations: 194 kB / 1.088 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001313/0.4727, allocations: 1.108 MB / 1.089 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000616/0.4733, allocations: 0.6152 MB / 1.09 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of Inline: time 0.002313/0.4756, allocations: 1.847 MB / 1.091 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.876e-05/0.4757, allocations: 52.75 kB / 1.092 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0002321/0.476, allocations: 245.7 kB / 1.092 GB, free: 8.027 MB / 0.8419 GB Error: Internal error NBSlice.resolveDependency failed for: conPCM.RNod[1:$i1 - 1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_$AUX_123) [----] for $i1 in 2:4 loop [----] [SCAL] (1) $FUN_3[integer(1.0 + ((-2.0) + $i1))] = sum(conPCM.RNod[k] for k in 1:$i1 - 1) ($RES_$AUX_124) [----] end for; Error: Internal error NBInitialization.main failed to apply modules!