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.001123/0.001123, allocations: 114.7 kB / 17.75 MB, free: 5.305 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.001237/0.001238, allocations: 183 kB / 18.68 MB, free: 4.383 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.252/1.252, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.583e-05, allocations: 2.281 kB / 351.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00348/0.003504, allocations: 3.058 MB / 355 MB, free: 240 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.004905, allocations: 0.9591 MB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.005058, allocations: 11.94 kB / 355.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.005293, allocations: 95.05 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.005459, allocations: 99 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.00589, allocations: 215.6 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005482/0.006447, allocations: 0.6267 MB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.006776, allocations: 226.6 kB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.006971, allocations: 175.2 kB / 357.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.007136, allocations: 175 kB / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.007187, allocations: 36 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.007296, allocations: 55.98 kB / 357.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004451/0.007747, allocations: 0.7484 MB / 358.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002383/0.007991, allocations: 0.5001 MB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.008072, allocations: 91.69 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.905e-05/0.008166, 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.001608/0.009779, allocations: 2.084 MB / 361.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000103/0.009888, allocations: 79.86 kB / 361.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007339/0.01063, allocations: 0.8586 MB / 362.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simplify1: time 6.216e-05/0.0107, allocations: 67.92 kB / 362.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of Alias: time 0.00287/0.01358, allocations: 2.855 MB / 365 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simplify2: time 2.773e-05/0.01361, allocations: 31.95 kB / 365 MB, free: 5.75 MB / 302.1 MB Notification: Performance of Events: time 5.413e-05/0.01367, allocations: 31.97 kB / 365 MB, free: 5.719 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001782/0.01386, allocations: 139.9 kB / 365.2 MB, free: 5.57 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001257/0.01399, allocations: 124.1 kB / 365.3 MB, free: 5.441 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)