Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108.2 kB / 16.42 MB, free: 6.418 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.00107/0.00107, allocations: 191.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2482/0.2482, allocations: 54.96 MB / 325.6 MB, free: 4.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.188e-05, allocations: 6.219 kB / 456.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Storage.Examples.ExpansionVessel): time 0.01379/0.01382, allocations: 14.3 MB / 471.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004417/0.01828, allocations: 3.51 MB / 474.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.01867, allocations: 19.88 kB / 474.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.01923, allocations: 198.7 kB / 474.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.0205, allocations: 0.5673 MB / 475.4 MB, free: 60 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006967/0.02121, allocations: 334.7 kB / 475.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.02241, allocations: 1.208 MB / 476.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.02282, allocations: 323.5 kB / 477.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000813/0.02364, allocations: 430.8 kB / 477.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.02399, allocations: 314.7 kB / 478 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.02405, allocations: 32 kB / 478 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005673/0.02462, allocations: 319.3 kB / 478.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004908/0.02512, allocations: 0.6804 MB / 479 MB, free: 12.45 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002488/0.02538, allocations: 446 kB / 479.4 MB, free: 12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.02546, allocations: 71.75 kB / 479.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.183e-05/0.02554, allocations: 15.92 kB / 479.5 MB, free: 11.92 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 (58) * Number of variables: 58 (58) Notification: Performance of Bindings: time 0.001597/0.02714, allocations: 1.869 MB / 481.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001182/0.02727, allocations: 94.28 kB / 481.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of Early Inline: time 0.00069/0.02797, allocations: 0.7713 MB / 482.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simplify1: time 5.224e-05/0.02803, allocations: 47.94 kB / 482.3 MB, free: 9 MB / 366.1 MB Notification: Performance of Alias: time 0.001437/0.02947, allocations: 1.371 MB / 483.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of simplify2: time 4.513e-05/0.02953, allocations: 43.94 kB / 483.7 MB, free: 7.449 MB / 366.1 MB Notification: Performance of Events: time 0.000149/0.02968, allocations: 103.9 kB / 483.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002656/0.02995, allocations: 225.2 kB / 484 MB, free: 7.117 MB / 366.1 MB Notification: Performance of Partitioning: time 0.000216/0.03018, allocations: 216.4 kB / 484.2 MB, free: 6.875 MB / 366.1 MB Notification: Performance of Causalize: time 0.001081/0.03127, allocations: 1.106 MB / 485.3 MB, free: 5.742 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004145/0.03169, allocations: 478.4 kB / 485.8 MB, free: 5.25 MB / 366.1 MB Notification: Performance of Inline: time 0.0009359/0.03263, allocations: 0.9604 MB / 486.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of Partitioning: time 5.468e-05/0.0327, allocations: 54.31 kB / 486.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of Cleanup: time 3.978e-05/0.03275, allocations: 39.95 kB / 486.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of Causalize: time 0.001422/0.03417, allocations: 1.557 MB / 488.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of Tearing: time 6.382e-06/0.03419, allocations: 0 / 488.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of Initialization: time 2.8e-07/0.0342, allocations: 0 / 488.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of Tearing: time 1.643e-06/0.0342, allocations: 0 / 488.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of Categorize: time 9.478e-06/0.03422, allocations: 4 kB / 488.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of Solve: time 0.0002834/0.03451, allocations: 197.9 kB / 488.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of Jacobian: time 0.0003741/0.03489, allocations: 410.8 kB / 489 MB, free: 1.98 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {expVes.m, expVes.H, vol.dynBal.U} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:29, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:47, array:3, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.668e-05/0.03493, allocations: 24.62 kB / 489 MB, free: 1.965 MB / 366.1 MB Notification: Performance of SimCode: time 0.002201/0.03714, allocations: 2.269 MB / 491.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of Templates: time 0.00722/0.04437, allocations: 4.131 MB / 495.4 MB, free: 11.54 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Annex60_1_0_0_Annex60_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Annex60_1_0_0_Annex60_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_functions.o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Annex60_1_0_0_Annex60_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_records.o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Annex60_1_0_0_Annex60_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_01exo.o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Annex60_1_0_0_Annex60_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_02nls.o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Annex60_1_0_0_Annex60_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_03lsy.o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Annex60_1_0_0_Annex60_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_04set.o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Annex60_1_0_0_Annex60_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_05evt.o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Annex60_1_0_0_Annex60_Fluid_Storage_Examples_ExpansionVessel -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_06inz.o Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_06inz.c Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_06inz.c:35:103: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'real_array' (aka 'struct base_array_s') (data->localData[0]->realVars[14] /* vol.dynBal.ports[1].m_flow variable */) = div_alloc_real_array((data->localData[0]->realVars[20] /* vol.dynBal.mb_flow variable */), tmp0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:174:57: note: passing argument to parameter 'a' here extern real_array div_alloc_real_array(const real_array a,const real_array b); ^ 1 error generated. make: *** [: Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel_06inz.o] Error 1