Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001726, allocations: 109.4 kB / 16.42 MB, free: 6.047 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.001742/0.001742, allocations: 193.5 kB / 17.36 MB, free: 5.617 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.126/1.126, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.208/2.208, allocations: 472.6 MB / 0.7459 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.053e-05, allocations: 2.281 kB / 1.07 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002445/0.002464, allocations: 2.177 MB / 1.072 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.006438, allocations: 4.077 MB / 1.076 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.006519, allocations: 0 / 1.076 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.007095, allocations: 177.5 kB / 1.076 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.007231, allocations: 83.33 kB / 1.076 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.007764, allocations: 287.3 kB / 1.077 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.008268, allocations: 434.6 kB / 1.077 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.008394, allocations: 64.3 kB / 1.077 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.008536, allocations: 139.5 kB / 1.077 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.008707, allocations: 143.4 kB / 1.077 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.008751, allocations: 16 kB / 1.077 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000666/0.009422, allocations: 0.5616 MB / 1.078 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002645/0.009696, allocations: 427.2 kB / 1.078 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.00013/0.009832, allocations: 279.9 kB / 1.079 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.009884, allocations: 43.88 kB / 1.079 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.901e-05/0.009908, allocations: 7.938 kB / 1.079 GB, free: 0.7422 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: 22 (20) * Number of variables: 22 (18) Notification: Performance of Bindings: time 0.3703/0.3802, allocations: 1.255 MB / 1.08 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002252/0.3805, allocations: 136.5 kB / 1.08 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0007276/0.3812, allocations: 0.8042 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simplify1: time 5.974e-05/0.3813, allocations: 63.38 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of Alias: time 0.0006435/0.3819, allocations: 0.5766 MB / 1.081 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simplify2: time 6.54e-05/0.382, allocations: 61.05 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001317/0.3822, allocations: 169 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of Events: time 0.0002116/0.3824, allocations: 188.3 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000177/0.3826, allocations: 204.5 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008055/0.3834, allocations: 0.8396 MB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000522/0.3839, allocations: 0.7471 MB / 1.084 GB, free: 11.91 MB / 0.8419 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:584:7-587:102:writable] Error: Internal error NFComponentRef.mergeSubscripts failed because the subscripts {$i1} could not be fully merged onto per. Result: per with leftover: {$i1}. Error: Internal error NBInitialization.main failed to apply modules!