Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 108.3 kB / 19.71 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 213.4 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1278/0.1278, allocations: 23.88 MB / 337.1 MB, free: 10.98 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.456e-05, allocations: 2.281 kB / 472.3 MB, free: 7.094 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell): time 0.06854/0.06856, allocations: 27.64 MB / 500 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02276/0.09132, allocations: 19.02 MB / 0.5068 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007524/0.09207, allocations: 31.75 kB / 0.5068 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.09322, allocations: 488.3 kB / 0.5073 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.09535, allocations: 0.962 MB / 0.5082 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00712/0.1025, allocations: 3.343 MB / 0.5115 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.1045, allocations: 2.032 MB / 0.5135 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008646/0.1054, allocations: 0.7629 MB / 0.5142 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.158/0.2634, allocations: 0.8714 MB / 0.5151 GB, free: 31.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.2654, allocations: 0.8976 MB / 0.516 GB, free: 31.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004007/0.2658, allocations: 147.7 kB / 0.5161 GB, free: 31.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.2707, allocations: 2.049 MB / 0.5181 GB, free: 31.04 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.00188/0.2726, allocations: 3 MB / 0.521 GB, free: 29.82 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008101/0.2734, allocations: 1.827 MB / 0.5228 GB, free: 28.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.2737, allocations: 146 kB / 0.523 GB, free: 28.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002144/0.2739, allocations: 81.23 kB / 0.523 GB, free: 28.7 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: 323 (317) * Number of variables: 323 (314) Notification: Performance of [SIM] Bindings: time 0.005592/0.2795, allocations: 7.609 MB / 0.5305 GB, free: 25.42 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001179/0.2807, allocations: 1.107 MB / 0.5316 GB, free: 25.3 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.007161/0.2878, allocations: 7.682 MB / 0.5391 GB, free: 22.46 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001493/0.2893, allocations: 1.453 MB / 0.5405 GB, free: 21.83 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.00651/0.2958, allocations: 6.946 MB / 0.5473 GB, free: 18.38 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001004/0.2969, allocations: 1.06 MB / 0.5483 GB, free: 17.95 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002085/0.2971, allocations: 296.4 kB / 0.5486 GB, free: 17.77 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0004908/0.2975, allocations: 0.7106 MB / 0.5493 GB, free: 17.37 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0001837/0.2977, allocations: 218.3 kB / 0.5495 GB, free: 17.29 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001034/0.2988, allocations: 1.659 MB / 0.5511 GB, free: 16.33 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001729/0.3005, allocations: 2.16 MB / 0.5532 GB, free: 15.33 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001246/0.3017, allocations: 2.296 MB / 0.5554 GB, free: 14.06 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.001856/0.3036, allocations: 2.037 MB / 0.5574 GB, free: 12.18 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.003319/0.3069, allocations: 5.015 MB / 0.5623 GB, free: 7.301 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 8.648e-05/0.307, allocations: 59.53 kB / 0.5624 GB, free: 7.23 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0003273/0.3073, allocations: 0.5812 MB / 0.563 GB, free: 6.672 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.002394/0.3097, allocations: 2.695 MB / 0.5656 GB, free: 3.945 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 6.805e-05/0.3098, allocations: 106.6 kB / 0.5657 GB, free: 3.844 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 8.92e-07/0.3098, allocations: 6.594 kB / 0.5657 GB, free: 3.84 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.923e-05/0.3098, allocations: 8.125 kB / 0.5657 GB, free: 3.836 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 3.886e-05/0.3099, allocations: 83.27 kB / 0.5658 GB, free: 3.758 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 3.04e-05/0.3099, allocations: 18.72 kB / 0.5658 GB, free: 3.746 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.002993/0.3129, allocations: 3.554 MB / 0.5693 GB, free: 464 kB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008224/0.3137, allocations: 0.8683 MB / 0.5701 GB, free: 15.51 MB / 398.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 32 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * 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: ............................. 2 (2) {electrone.temperature, electrone1.temperature} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 102 (scalar:92, array:10, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:0, if:2, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 158 (scalar:148, array:10, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:0, if:2, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 6.741e-05/0.3138, allocations: 66.92 kB / 0.5702 GB, free: 15.45 MB / 398.1 MB Notification: Performance of SimCode: time 0.01348/0.3272, allocations: 8.845 MB / 0.5788 GB, free: 8.078 MB / 398.1 MB Notification: Performance of Templates: time 0.0366/0.3638, allocations: 26.62 MB / 0.6048 GB, free: 13.56 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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=Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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=Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_functions.o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_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=Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_records.o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_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=Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_01exo.o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_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=Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_02nls.o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_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=Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_03lsy.o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_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=Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_04set.o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_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=Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_05evt.o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_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=Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_StandardElectrochemicalCell -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.o Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.c Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.c:184:25: error: invalid argument type 'real_array' (aka 'struct base_array_s') to unary expression real_array_copy_data((-(div_alloc_real_array(tmp2, tmp3))), (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[62]] /* electrodeReaction1.rr variable */)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:48:76: note: expanded from macro 'real_array_copy_data' #define real_array_copy_data(src,dst) simple_array_copy_data(src, &dst, sizeof(modelica_real)); ^~~ Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.c:873:25: error: invalid argument type 'real_array' (aka 'struct base_array_s') to unary expression real_array_copy_data((-(div_alloc_real_array(tmp30, tmp31))), (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[50]] /* electrodeReaction.rr variable */)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:48:76: note: expanded from macro 'real_array_copy_data' #define real_array_copy_data(src,dst) simple_array_copy_data(src, &dst, sizeof(modelica_real)); ^~~ Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.c:1437:25: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'real_array' (aka 'struct base_array_s') usub_alloc_real_array(DIVISION_SIM((-(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[61]] /* electrodeReaction.du variable */)) - (((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[85]] /* electrodeReaction.s[1] PARAM */)) * ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[51]] /* electrodeReaction.substrates[1].u variable */))),mul_real_scalar_product(tmp50, tmp51),"electrodeReaction.p * {1.0, 1.0}",equationIndexes),&tmp52); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:40: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:148:52: note: passing argument to parameter 'a' here extern void usub_alloc_real_array(const real_array a, real_array* dest); ^ Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.c:1438:122: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[55]] /* electrodeReaction.products[2].u variable */) = tmp52; ^ ~~~~~ Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.c:1652:25: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'real_array' (aka 'struct base_array_s') usub_alloc_real_array(DIVISION_SIM((-(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[76]] /* electrodeReaction1.du variable */)) - (mul_real_scalar_product(tmp55, tmp56)),mul_real_scalar_product(tmp57, tmp58),"electrodeReaction1.p * {1.0, 1.0}",equationIndexes),&tmp59); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/division.h:45:40: note: expanded from macro 'DIVISION_SIM' #define DIVISION_SIM(a,b,msg,equation) (__OMC_DIV_SIM(threadData, a, b, msg, equationIndexes, data->simulationInfo->noThrowDivZero, data->localData[0]->timeValue, initial())) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:148:52: note: passing argument to parameter 'a' here extern void usub_alloc_real_array(const real_array a, real_array* dest); ^ Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.c:1653:123: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[70]] /* electrodeReaction1.products[2].u variable */) = tmp59; ^ ~~~~~ 6 errors generated. make: *** [: Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 3.7843852899968624] Failed to read output from testmodel.py, exit status != 0: 0.3714597257785499 0.38434397200000003 0.107631087 Calling exit ...