Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.04/4.04, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.271e-05/4.274e-05, allocations: 7.938 kB / 0.4992 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.6696, allocations: 92.68 MB / 0.5897 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3167/0.9863, allocations: 150.3 MB / 0.7365 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/0.9868, allocations: 95.92 kB / 0.7366 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.8151/1.802, allocations: 61.98 MB / 0.7971 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/1.802, allocations: 0 / 0.7971 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001142/1.802, allocations: 36.59 kB / 0.7971 GB, free: 159.1 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005731/1.808, allocations: 1.615 MB / 0.7987 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.808, allocations: 7.438 kB / 0.7987 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009329/1.809, allocations: 261.8 kB / 0.799 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/1.814, allocations: 481.6 kB / 0.7994 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003737/1.818, allocations: 1.285 MB / 0.8007 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.818, allocations: 108.7 kB / 0.8008 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006593/1.818, allocations: 149 kB / 0.8009 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008022/1.826, allocations: 3.092 MB / 0.8039 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.105e-05/1.827, allocations: 0 / 0.8039 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003487/1.827, allocations: 66.03 kB / 0.804 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/1.828, allocations: 185 kB / 0.8042 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/1.835, allocations: 2.444 MB / 0.8066 GB, free: 156 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03353/1.868, allocations: 12.37 MB / 0.8186 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/1.873, allocations: 1.796 MB / 0.8204 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003306/1.876, allocations: 1.515 MB / 0.8219 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.584e-05/1.876, allocations: 20.91 kB / 0.8219 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/1.876, allocations: 43.56 kB / 0.8219 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 4.087e-06/1.876, allocations: 0 / 0.8219 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.2733/2.149, allocations: 29.24 MB / 0.8505 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/2.15, allocations: 73.41 kB / 0.8506 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/2.152, allocations: 1.057 MB / 0.8516 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006095/2.152, allocations: 53.7 kB / 0.8517 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/2.153, allocations: 0.7834 MB / 0.8524 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/2.154, allocations: 0.6158 MB / 0.853 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004943/2.155, allocations: 36 kB / 0.8531 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001752/2.155, allocations: 385.9 kB / 0.8534 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004816/2.16, allocations: 2.093 MB / 0.8555 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00499/2.165, allocations: 2.412 MB / 0.8578 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005211/2.17, allocations: 2.368 MB / 0.8601 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/2.17, allocations: 4 kB / 0.8601 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.02645/2.197, allocations: 8.243 MB / 0.8682 GB, free: 95.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/2.197, allocations: 11.95 kB / 0.8682 GB, free: 95.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/2.197, allocations: 8.562 kB / 0.8682 GB, free: 95.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09697/2.294, allocations: 11.18 MB / 0.8791 GB, free: 83.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/2.296, allocations: 243.6 kB / 0.8794 GB, free: 83.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05299/2.349, allocations: 22.95 MB / 0.9018 GB, free: 60.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004008/2.353, allocations: 127.8 kB / 0.9019 GB, free: 60.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/2.354, allocations: 267.8 kB / 0.9021 GB, free: 60.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,12 34} Notification: Performance of prepare postOptimizeDAE: time 0.001129/2.355, allocations: 200.6 kB / 0.9023 GB, free: 59.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007605/2.356, allocations: 138.3 kB / 0.9025 GB, free: 59.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/2.382, allocations: 7.947 MB / 0.9102 GB, free: 51.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/2.382, allocations: 26.69 kB / 0.9102 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.128e-05/2.382, allocations: 16 kB / 0.9103 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.635e-05/2.382, allocations: 11.95 kB / 0.9103 GB, free: 51.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0391/2.421, allocations: 12.46 MB / 0.9224 GB, free: 39.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.138e-05/2.421, allocations: 4 kB / 0.9225 GB, free: 39.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009565/2.422, allocations: 115.9 kB / 0.9226 GB, free: 39.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0937/2.516, allocations: 10.92 MB / 0.9332 GB, free: 28.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007095/2.517, allocations: 87.89 kB / 0.9333 GB, free: 28.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04724/2.564, allocations: 19.2 MB / 0.9521 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/2.564, allocations: 4 kB / 0.9521 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02352/2.588, allocations: 7.525 MB / 0.9594 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/2.59, allocations: 0.8347 MB / 0.9602 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007939/2.591, allocations: 39.94 kB / 0.9603 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/2.594, allocations: 83.94 kB / 0.9603 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/2.595, allocations: 189.6 kB / 0.9605 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005974/2.595, allocations: 179.9 kB / 0.9607 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002114/2.597, allocations: 0.8284 MB / 0.9615 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.91e-07/2.597, allocations: 0 / 0.9615 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004714/2.602, allocations: 0.7656 MB / 0.9622 GB, free: 13.87 MB / 0.6667 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,13 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.02854/2.631, allocations: 9.287 MB / 0.9713 GB, free: 4.434 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02001/2.651, allocations: 5.849 MB / 0.977 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/2.651, allocations: 0 / 0.977 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01547/2.666, allocations: 3.523 MB / 0.9805 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/2.669, allocations: 198.4 kB / 0.9807 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/2.686, allocations: 4.974 MB / 0.9855 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002804/2.688, allocations: 1.837 MB / 0.9873 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002018/2.691, allocations: 406.5 kB / 0.9877 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/2.692, allocations: 0.671 MB / 0.9884 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/2.692, allocations: 0 / 0.9884 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7926/3.485, allocations: 75.77 MB / 1.062 GB, free: 239.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/3.485, allocations: 218.8 kB / 1.063 GB, free: 239 MB / 0.7448 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_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1637:6: error: redefinition of 'residualFunc453' void residualFunc453(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:641:6: note: previous definition is here void residualFunc453(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS453' void initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:681:6: note: previous definition is here void initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1682:6: error: redefinition of 'initializeStaticDataNLS453' void initializeStaticDataNLS453(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:686:6: note: previous definition is here void initializeStaticDataNLS453(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1695:6: error: redefinition of 'getIterationVarsNLS453' void getIterationVarsNLS453(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:699:6: note: previous definition is here void getIterationVarsNLS453(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3337:6: error: redefinition of 'residualFunc66' void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2335:6: note: previous definition is here void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2375:6: note: previous definition is here void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3382:6: error: redefinition of 'initializeStaticDataNLS66' void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2380:6: note: previous definition is here void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3395:6: error: redefinition of 'getIterationVarsNLS66' void getIterationVarsNLS66(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2393:6: note: previous definition is here void getIterationVarsNLS66(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. : recipe for target 'Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o' failed make: *** [Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1