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 loadModel(Buildings): time 4.518/4.518, allocations: 460.5 MB / 472.6 MB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.909e-05/4.917e-05, allocations: 4 kB / 0.5682 GB, free: 10.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2643, allocations: 106.2 MB / 0.6719 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8996/1.164, allocations: 160.3 MB / 0.8285 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/1.164, allocations: 93.94 kB / 0.8285 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.2476/1.412, allocations: 60.38 MB / 0.8875 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.065e-06/1.412, allocations: 0 / 0.8875 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002349/1.412, allocations: 36 kB / 0.8875 GB, free: 0.7852 MB / 0.6667 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.00809/1.421, allocations: 1.504 MB / 0.889 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.421, allocations: 8.031 kB / 0.889 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001269/1.422, allocations: 248.9 kB / 0.8893 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/1.427, allocations: 480.5 kB / 0.8897 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/1.431, allocations: 1.137 MB / 0.8908 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/1.431, allocations: 112.2 kB / 0.8909 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008349/1.432, allocations: 141.2 kB / 0.8911 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009052/1.441, allocations: 2.739 MB / 0.8937 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.212e-05/1.441, allocations: 7.938 kB / 0.8938 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004316/1.442, allocations: 64.73 kB / 0.8938 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000862/1.442, allocations: 153.2 kB / 0.894 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00721/1.45, allocations: 2.142 MB / 0.8961 GB, free: 9.965 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.03443/1.484, allocations: 14.14 MB / 0.9099 GB, free: 11.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/1.488, allocations: 1.314 MB / 0.9111 GB, free: 9.922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/1.491, allocations: 1.087 MB / 0.9122 GB, free: 8.832 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/1.491, allocations: 20.77 kB / 0.9122 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/1.491, allocations: 43.28 kB / 0.9123 GB, free: 8.758 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 4.248e-06/1.491, allocations: 0 / 0.9123 GB, free: 8.758 MB / 0.698 GB Notification: Performance of matching and sorting (n=139): time 0.1374/1.629, allocations: 16.17 MB / 0.9281 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/1.629, allocations: 72.67 kB / 0.9281 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/1.631, allocations: 0.945 MB / 0.929 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004438/1.632, allocations: 45.7 kB / 0.9291 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/1.633, allocations: 0.7244 MB / 0.9298 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009442/1.634, allocations: 489 kB / 0.9303 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/1.634, allocations: 28 kB / 0.9303 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003542/1.634, allocations: 418.7 kB / 0.9307 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004999/1.639, allocations: 1.452 MB / 0.9321 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006015/1.645, allocations: 1.745 MB / 0.9338 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.656, allocations: 1.686 MB / 0.9355 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/1.656, allocations: 0 / 0.9355 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.03022/1.687, allocations: 5.373 MB / 0.9407 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/1.687, allocations: 11.98 kB / 0.9407 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/1.687, allocations: 8 kB / 0.9407 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05943/1.746, allocations: 5.872 MB / 0.9465 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/1.748, allocations: 227.6 kB / 0.9467 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03944/1.788, allocations: 15.24 MB / 0.9616 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/1.79, allocations: 95.98 kB / 0.9616 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000689/1.791, allocations: 167.9 kB / 0.9618 GB, free: 5.473 MB / 0.7448 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 () * 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.000626/1.792, allocations: 188.6 kB / 0.962 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005547/1.792, allocations: 114.6 kB / 0.9621 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/1.809, allocations: 4.976 MB / 0.967 GB, free: 164 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/1.809, allocations: 15.98 kB / 0.967 GB, free: 148 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.601e-05/1.809, allocations: 12 kB / 0.967 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/1.809, allocations: 8.359 kB / 0.967 GB, free: 128 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.837, allocations: 8.361 MB / 0.9752 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/1.837, allocations: 8 kB / 0.9752 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/1.838, allocations: 115.9 kB / 0.9753 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04989/1.888, allocations: 5.664 MB / 0.9808 GB, free: 1.836 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005118/1.888, allocations: 59.94 kB / 0.9809 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03298/1.921, allocations: 12.78 MB / 0.9933 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.921, allocations: 4 kB / 0.9934 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/1.937, allocations: 4.853 MB / 0.9981 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/1.94, allocations: 0.6009 MB / 0.9987 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005823/1.94, allocations: 28.19 kB / 0.9987 GB, free: 15 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.942, allocations: 71.94 kB / 0.9988 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000609/1.943, allocations: 140.9 kB / 0.9989 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/1.943, allocations: 111.9 kB / 0.999 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00171/1.945, allocations: 0.7294 MB / 0.9997 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.01e-07/1.945, allocations: 0 / 0.9997 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003738/1.949, allocations: 0.5859 MB / 1 GB, free: 13.37 MB / 0.7917 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 () * 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.0177/1.966, allocations: 6.578 MB / 1.007 GB, free: 6.645 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01356/1.98, allocations: 4.027 MB / 1.011 GB, free: 2.602 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.98, allocations: 0 / 1.011 GB, free: 2.602 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01/1.99, allocations: 2.366 MB / 1.013 GB, free: 220 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.992, allocations: 189.5 kB / 1.013 GB, free: 36 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/2.003, allocations: 3.805 MB / 1.017 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/2.006, allocations: 1.704 MB / 1.019 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001891/2.008, allocations: 401 kB / 1.019 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/2.009, allocations: 0.55 MB / 1.019 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of SimCode: time 3.878e-06/2.009, allocations: 4 kB / 1.019 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/2.177, allocations: 51 MB / 1.069 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/2.177, allocations: 227.8 kB / 1.069 GB, free: 6.41 MB / 0.8542 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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