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.22/4.22, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.697e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6297/0.6298, allocations: 92.67 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/0.9036, allocations: 150.3 MB / 0.7364 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/0.904, allocations: 91.94 kB / 0.7365 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.8085/1.713, allocations: 61.98 MB / 0.7971 GB, free: 159 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/1.713, allocations: 1.125 kB / 0.7971 GB, free: 159 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001019/1.713, allocations: 37.97 kB / 0.7971 GB, free: 159 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.006006/1.719, allocations: 1.614 MB / 0.7987 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/1.719, allocations: 9.375 kB / 0.7987 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009078/1.72, allocations: 261.5 kB / 0.7989 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/1.726, allocations: 481.1 kB / 0.7994 GB, free: 158 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005406/1.731, allocations: 1.28 MB / 0.8006 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/1.732, allocations: 113.8 kB / 0.8007 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007791/1.732, allocations: 152.1 kB / 0.8009 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/1.743, allocations: 3.097 MB / 0.8039 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.433e-05/1.743, allocations: 11 kB / 0.8039 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005076/1.744, allocations: 63.27 kB / 0.804 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001541/1.745, allocations: 189.2 kB / 0.8042 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009118/1.754, allocations: 2.467 MB / 0.8066 GB, free: 156 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04235/1.797, allocations: 12.36 MB / 0.8186 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/1.801, allocations: 1.809 MB / 0.8204 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003438/1.805, allocations: 1.523 MB / 0.8219 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.84e-05/1.805, allocations: 16.91 kB / 0.8219 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/1.805, allocations: 43.56 kB / 0.822 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 3.967e-06/1.805, allocations: 0 / 0.822 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.2565/2.061, allocations: 29.24 MB / 0.8505 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/2.061, allocations: 69.41 kB / 0.8506 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/2.064, allocations: 1.057 MB / 0.8516 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006731/2.065, allocations: 53.7 kB / 0.8517 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/2.065, allocations: 0.7779 MB / 0.8524 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/2.066, allocations: 0.6259 MB / 0.853 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004648/2.067, allocations: 36 kB / 0.8531 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001528/2.067, allocations: 385.9 kB / 0.8534 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005053/2.072, allocations: 2.085 MB / 0.8555 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005737/2.078, allocations: 2.427 MB / 0.8578 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005794/2.084, allocations: 2.376 MB / 0.8602 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-05/2.084, allocations: 0 / 0.8602 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.02803/2.112, allocations: 8.263 MB / 0.8682 GB, free: 95.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/2.112, allocations: 19.89 kB / 0.8683 GB, free: 95.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/2.112, allocations: 8 kB / 0.8683 GB, free: 95.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0949/2.207, allocations: 11.17 MB / 0.8792 GB, free: 83.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/2.209, allocations: 251.6 kB / 0.8794 GB, free: 83.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05335/2.262, allocations: 22.92 MB / 0.9018 GB, free: 60.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/2.266, allocations: 131.8 kB / 0.9019 GB, free: 60.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009815/2.267, allocations: 267.8 kB / 0.9022 GB, free: 60.1 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.0008193/2.268, allocations: 188.7 kB / 0.9024 GB, free: 59.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007109/2.269, allocations: 138.3 kB / 0.9025 GB, free: 59.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02617/2.295, allocations: 7.965 MB / 0.9103 GB, free: 51.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/2.295, allocations: 19.98 kB / 0.9103 GB, free: 51.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.342e-05/2.295, allocations: 16 kB / 0.9103 GB, free: 51.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-05/2.295, allocations: 7.969 kB / 0.9103 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03962/2.335, allocations: 12.46 MB / 0.9225 GB, free: 39.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/2.335, allocations: 4 kB / 0.9225 GB, free: 39.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009479/2.336, allocations: 119.8 kB / 0.9226 GB, free: 39.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09365/2.429, allocations: 10.92 MB / 0.9333 GB, free: 28.13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007296/2.43, allocations: 91.89 kB / 0.9334 GB, free: 28.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04743/2.478, allocations: 19.16 MB / 0.9521 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/2.478, allocations: 4 kB / 0.9521 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02475/2.502, allocations: 7.528 MB / 0.9594 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002857/2.505, allocations: 0.8347 MB / 0.9602 GB, free: 0 / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009096/2.506, allocations: 38.8 kB / 0.9603 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/2.509, allocations: 87.88 kB / 0.9604 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/2.51, allocations: 185.6 kB / 0.9605 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006051/2.511, allocations: 187.8 kB / 0.9607 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00216/2.513, allocations: 0.8245 MB / 0.9615 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.82e-07/2.513, allocations: 4 kB / 0.9615 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006395/2.52, allocations: 0.7695 MB / 0.9623 GB, free: 13.9 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.0402/2.56, allocations: 9.278 MB / 0.9713 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02708/2.587, allocations: 5.916 MB / 0.9771 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/2.587, allocations: 3.375 kB / 0.9771 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01724/2.604, allocations: 3.566 MB / 0.9806 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/2.606, allocations: 196.6 kB / 0.9808 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/2.622, allocations: 4.994 MB / 0.9857 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00314/2.625, allocations: 1.834 MB / 0.9875 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002087/2.627, allocations: 409.9 kB / 0.9879 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002048/2.63, allocations: 0.6671 MB / 0.9885 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of SimCode: time 1.894e-06/2.63, allocations: 0 / 0.9885 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7594/3.389, allocations: 76.05 MB / 1.063 GB, free: 239.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/3.389, allocations: 219.9 kB / 1.063 GB, free: 239.4 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