Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.142/2.142, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 174.8 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.377/2.377, allocations: 205.4 MB / 0.5764 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 110.2 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005003, allocations: 11.81 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2719, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3046/0.5766, allocations: 160.4 MB / 1.055 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/0.5771, allocations: 99.92 kB / 1.056 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8634/1.441, allocations: 60.67 MB / 1.115 GB, free: 119.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.534e-06/1.441, allocations: 0 / 1.115 GB, free: 119.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001078/1.441, allocations: 36 kB / 1.115 GB, free: 119.1 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005815/1.447, allocations: 1.612 MB / 1.116 GB, free: 117.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.447, allocations: 12.03 kB / 1.116 GB, free: 117.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001033/1.448, allocations: 260.5 kB / 1.117 GB, free: 117.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/1.453, allocations: 473.3 kB / 1.117 GB, free: 116.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/1.456, allocations: 1.134 MB / 1.118 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/1.456, allocations: 118.9 kB / 1.118 GB, free: 115.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008274/1.457, allocations: 144 kB / 1.118 GB, free: 115.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008176/1.465, allocations: 2.775 MB / 1.121 GB, free: 112.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.284e-05/1.466, allocations: 7.875 kB / 1.121 GB, free: 112.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004587/1.466, allocations: 67.97 kB / 1.121 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007626/1.467, allocations: 150.9 kB / 1.121 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006584/1.473, allocations: 2.209 MB / 1.124 GB, free: 109.9 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02967/1.503, allocations: 14.14 MB / 1.137 GB, free: 94.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/1.507, allocations: 1.338 MB / 1.139 GB, free: 93.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/1.507, allocations: 12.64 kB / 1.139 GB, free: 93.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.507, allocations: 43.22 kB / 1.139 GB, free: 93.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.877e-06/1.507, allocations: 0 / 1.139 GB, free: 93.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=139): time 0.1392/1.646, allocations: 17.75 MB / 1.156 GB, free: 75.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.646, allocations: 72.72 kB / 1.156 GB, free: 75.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/1.648, allocations: 0.9449 MB / 1.157 GB, free: 74.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004139/1.648, allocations: 45.7 kB / 1.157 GB, free: 74.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/1.649, allocations: 0.7284 MB / 1.158 GB, free: 73.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006349/1.65, allocations: 481 kB / 1.158 GB, free: 73.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/1.65, allocations: 28 kB / 1.158 GB, free: 73.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001969/1.65, allocations: 422.9 kB / 1.159 GB, free: 72.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003381/1.654, allocations: 1.472 MB / 1.16 GB, free: 71.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003627/1.657, allocations: 1.776 MB / 1.162 GB, free: 69.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/1.661, allocations: 1.699 MB / 1.164 GB, free: 67.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/1.661, allocations: 0 / 1.164 GB, free: 67.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01609/1.677, allocations: 5.44 MB / 1.169 GB, free: 62.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/1.677, allocations: 11.94 kB / 1.169 GB, free: 62.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.677, allocations: 8 kB / 1.169 GB, free: 62.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04994/1.727, allocations: 5.891 MB / 1.175 GB, free: 56.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/1.729, allocations: 211.6 kB / 1.175 GB, free: 56.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/1.763, allocations: 15.81 MB / 1.19 GB, free: 39.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/1.766, allocations: 99.89 kB / 1.19 GB, free: 39.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000523/1.766, allocations: 167.9 kB / 1.191 GB, free: 39.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of prepare postOptimizeDAE: time 0.002006/1.768, allocations: 0.7328 MB / 1.191 GB, free: 38.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/1.769, allocations: 122.6 kB / 1.191 GB, free: 38.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1.784, allocations: 5.007 MB / 1.196 GB, free: 33.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/1.784, allocations: 12 kB / 1.196 GB, free: 33.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/1.784, allocations: 12 kB / 1.196 GB, free: 33.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/1.784, allocations: 11.92 kB / 1.196 GB, free: 33.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.807, allocations: 8.404 MB / 1.204 GB, free: 25.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.807, allocations: 4.375 kB / 1.205 GB, free: 25.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/1.808, allocations: 112.3 kB / 1.205 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04908/1.857, allocations: 5.687 MB / 1.21 GB, free: 19.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004796/1.857, allocations: 63.94 kB / 1.21 GB, free: 19.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02978/1.887, allocations: 13.27 MB / 1.223 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.887, allocations: 4 kB / 1.223 GB, free: 5.688 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/1.902, allocations: 4.88 MB / 1.228 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.904, allocations: 0.601 MB / 1.229 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005604/1.904, allocations: 28.08 kB / 1.229 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.906, allocations: 75.92 kB / 1.229 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007152/1.907, allocations: 129 kB / 1.229 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000351/1.907, allocations: 119.9 kB / 1.229 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001801/1.909, allocations: 0.7332 MB / 1.23 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.909, allocations: 0 / 1.23 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003856/1.913, allocations: 0.5859 MB / 1.23 GB, free: 14.35 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01849/1.932, allocations: 6.613 MB / 1.237 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01437/1.946, allocations: 4.12 MB / 1.241 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.946, allocations: 0 / 1.241 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01061/1.957, allocations: 2.45 MB / 1.243 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001999/1.959, allocations: 187.1 kB / 1.243 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04488/2.004, allocations: 19.94 MB / 1.263 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002695/2.006, allocations: 1.7 MB / 1.264 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002025/2.008, allocations: 409.4 kB / 1.265 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/2.01, allocations: 0.5461 MB / 1.265 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of SimCode: time 1.383e-06/2.01, allocations: 0 / 1.265 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1457/2.156, allocations: 50.98 MB / 1.315 GB, free: 7.059 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004511/2.156, allocations: 255.3 kB / 1.315 GB, free: 6.785 MB / 0.7917 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c:7: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c:2: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1119:6: error: redefinition of 'residualFunc343' void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:451:6: note: previous definition is here void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:487:6: note: previous definition is here void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1160:6: error: redefinition of 'initializeStaticDataNLS343' void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:492:6: note: previous definition is here void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1173:6: error: redefinition of 'getIterationVarsNLS343' void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:505:6: note: previous definition is here void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2291:6: error: redefinition of 'residualFunc63' void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1623:6: note: previous definition is here void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1659:6: note: previous definition is here void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2332:6: error: redefinition of 'initializeStaticDataNLS63' void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1664:6: note: previous definition is here void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2345:6: error: redefinition of 'getIterationVarsNLS63' void getIterationVarsNLS63(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1677:6: note: previous definition is here void getIterationVarsNLS63(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. : recipe for target 'Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o' failed make: *** [Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o] Error 1