Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001459/0.001459, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001646/0.001646, allocations: 209.3 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1265/0.1265, allocations: 23.93 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.266e-05, allocations: 2.281 kB / 472.4 MB, free: 7.035 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07213/0.07215, allocations: 27.64 MB / 0.4883 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02424/0.09638, allocations: 19.03 MB / 0.5069 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.09743, allocations: 31.69 kB / 0.5069 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.09874, allocations: 496.2 kB / 0.5074 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.1015, allocations: 0.9621 MB / 0.5083 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008172/0.1096, allocations: 3.339 MB / 0.5116 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002681/0.1123, allocations: 2.032 MB / 0.5136 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009561/0.1133, allocations: 0.759 MB / 0.5143 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1688/0.2821, allocations: 0.8718 MB / 0.5152 GB, free: 31.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.2835, allocations: 0.8977 MB / 0.516 GB, free: 31.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.2838, allocations: 145.6 kB / 0.5162 GB, free: 31.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004482/0.2883, allocations: 2.042 MB / 0.5182 GB, free: 31.05 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001773/0.2901, allocations: 3 MB / 0.5211 GB, free: 29.83 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007457/0.2908, allocations: 1.828 MB / 0.5229 GB, free: 28.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.2911, allocations: 150.2 kB / 0.523 GB, free: 28.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001967/0.2913, allocations: 79.72 kB / 0.5231 GB, free: 28.71 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.005611/0.2969, allocations: 7.621 MB / 0.5305 GB, free: 25.43 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001172/0.2981, allocations: 1.101 MB / 0.5316 GB, free: 25.3 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.007081/0.3051, allocations: 7.687 MB / 0.5391 GB, free: 22.46 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00147/0.3066, allocations: 1.445 MB / 0.5405 GB, free: 21.82 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.006383/0.313, allocations: 6.946 MB / 0.5473 GB, free: 18.37 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001055/0.3141, allocations: 1.062 MB / 0.5484 GB, free: 17.94 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002041/0.3143, allocations: 292.5 kB / 0.5486 GB, free: 17.77 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0005194/0.3148, allocations: 0.7095 MB / 0.5493 GB, free: 17.37 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0001931/0.315, allocations: 213.8 kB / 0.5495 GB, free: 17.29 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001092/0.3161, allocations: 1.658 MB / 0.5512 GB, free: 16.34 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001775/0.3178, allocations: 2.161 MB / 0.5533 GB, free: 15.33 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001282/0.3191, allocations: 2.292 MB / 0.5555 GB, free: 14 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.001871/0.321, allocations: 2.05 MB / 0.5575 GB, free: 12.08 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.00324/0.3242, allocations: 5.007 MB / 0.5624 GB, free: 7.215 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 8.479e-05/0.3243, allocations: 60.05 kB / 0.5625 GB, free: 7.141 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0003176/0.3246, allocations: 0.5871 MB / 0.563 GB, free: 6.578 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.002368/0.327, allocations: 2.682 MB / 0.5656 GB, free: 3.863 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 6.922e-05/0.3271, allocations: 112 kB / 0.5658 GB, free: 3.754 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 6.61e-07/0.3271, allocations: 0 / 0.5658 GB, free: 3.754 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.425e-05/0.3271, allocations: 10.56 kB / 0.5658 GB, free: 3.75 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 3.766e-05/0.3271, allocations: 89.34 kB / 0.5658 GB, free: 3.672 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.525e-05/0.3271, allocations: 10.47 kB / 0.5659 GB, free: 3.668 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.003128/0.3303, allocations: 3.565 MB / 0.5693 GB, free: 372 kB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009226/0.3312, allocations: 0.8611 MB / 0.5702 GB, free: 15.43 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 8.147e-05/0.3313, allocations: 70.45 kB / 0.5702 GB, free: 15.36 MB / 398.1 MB Notification: Performance of SimCode: time 0.01472/0.346, allocations: 8.846 MB / 0.5789 GB, free: 7.996 MB / 398.1 MB Notification: Performance of Templates: time 0.03766/0.3837, allocations: 26.6 MB / 0.6049 GB, free: 13.48 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] make -j1 -f Chemical_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.o Chemical_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_functions.o Chemical_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_records.o Chemical_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_01exo.o Chemical_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_02nls.o Chemical_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_03lsy.o Chemical_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_04set.o Chemical_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_05evt.o Chemical_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.o Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.c Chemical_master_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_master_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_master_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_master_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_master_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_master_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_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 3.92243514675647] Failed to read output from testmodel.py, exit status != 0: 0.3911444842815399 0.40399677399999995 0.10992022099999994 Calling exit ...