Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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) 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(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 114.5 kB / 17.75 MB, free: 5.336 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.001224/0.001224, allocations: 183.1 kB / 18.68 MB, free: 4.414 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.29/1.29, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.702e-05, allocations: 2.281 kB / 351.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005135/0.005173, allocations: 3.058 MB / 355 MB, free: 248 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.007158, allocations: 0.9591 MB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005916/0.007766, allocations: 7.938 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.008218, allocations: 95.05 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.008661, allocations: 99.02 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.009428, allocations: 219.6 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007335/0.01017, allocations: 0.6267 MB / 357 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.01056, allocations: 222.7 kB / 357.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.01088, allocations: 179.2 kB / 357.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.01116, allocations: 175 kB / 357.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.21e-05/0.01126, allocations: 44 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.01141, allocations: 51.94 kB / 357.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005767/0.012, allocations: 0.7406 MB / 358.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003617/0.01237, allocations: 0.504 MB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.01252, allocations: 91.69 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001568/0.01268, allocations: 71.66 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 (102) * Number of variables: 102 (102) Notification: Performance of Bindings: time 0.001928/0.01462, allocations: 2.069 MB / 361.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001846/0.01481, allocations: 87.86 kB / 361.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009207/0.01574, allocations: 0.8624 MB / 362 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simplify1: time 9.932e-05/0.01585, allocations: 67.91 kB / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of Alias: time 0.003328/0.01918, allocations: 2.867 MB / 365 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simplify2: time 4.743e-05/0.01925, allocations: 27.92 kB / 365 MB, free: 5.754 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002136/0.01947, allocations: 135.6 kB / 365.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of Events: time 7.563e-05/0.01955, allocations: 35.91 kB / 365.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001495/0.01971, allocations: 120.1 kB / 365.3 MB, free: 5.449 MB / 302.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: inverseCapacity.derT. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) inverseCapacity.mass.T = Modelica.Blocks.Interfaces.Adaptors.Functions.state1({directCapacity.heatCapacitor.T, inverseCapacity.derT}, time) ($RES_SIM_43)