Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) 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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09628/0.09628, allocations: 15.29 MB / 31.6 MB, free: 4.133 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.00101, allocations: 99.59 kB / 36.6 MB, free: 3.18 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 194.5 kB / 41.71 MB, free: 7.141 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 269.6 MB, free: 6.969 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1308/0.1308, allocations: 23.35 MB / 347.2 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.125e-05, allocations: 6.219 kB / 479.4 MB, free: 1.926 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_2element): time 0.2725/0.2726, allocations: 68.04 MB / 0.5346 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.288, allocations: 15.48 MB / 0.5498 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/0.2888, allocations: 19.88 kB / 0.5498 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.2895, allocations: 209.2 kB / 0.55 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005777/0.2952, allocations: 2.254 MB / 0.5522 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.2984, allocations: 1.139 MB / 0.5533 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.2995, allocations: 1.127 MB / 0.5544 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004058/0.2999, allocations: 338.9 kB / 0.5547 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.3019, allocations: 1.022 MB / 0.5557 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.3024, allocations: 349.9 kB / 0.556 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.764e-05/0.3024, allocations: 36 kB / 0.5561 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004361/0.3068, allocations: 1.572 MB / 0.5576 GB, free: 4.078 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0004848/0.3073, allocations: 0.8007 MB / 0.5584 GB, free: 3.422 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002689/0.3076, allocations: 0.4915 MB / 0.5589 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.3077, allocations: 90.06 kB / 0.559 GB, free: 2.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001468/0.3079, allocations: 27.5 kB / 0.559 GB, free: 2.883 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 (74) * Number of variables: 80 (74) Notification: Performance of Bindings: time 0.001729/0.3096, allocations: 2.096 MB / 0.561 GB, free: 1.312 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0002458/0.3099, allocations: 159.1 kB / 0.5612 GB, free: 1.242 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001001/0.3109, allocations: 1.092 MB / 0.5622 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001156/0.311, allocations: 84.53 kB / 0.5623 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of Alias: time 0.001931/0.3129, allocations: 1.716 MB / 0.564 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simplify2: time 9.363e-05/0.313, allocations: 55.72 kB / 0.5641 GB, free: 15.08 MB / 398.1 MB Notification: Performance of Events: time 0.0001654/0.3132, allocations: 105.8 kB / 0.5642 GB, free: 14.99 MB / 398.1 MB Notification: Performance of Detect States: time 0.0003196/0.3135, allocations: 246 kB / 0.5644 GB, free: 14.78 MB / 398.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_4.T, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.