Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.916/3.916, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.378e-05/5.39e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6613, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2932/0.9546, allocations: 147.7 MB / 0.7339 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/0.955, allocations: 95.92 kB / 0.734 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.005/1.96, allocations: 127.3 MB / 0.8583 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.103e-06/1.96, allocations: 0 / 0.8583 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002763/1.96, allocations: 91.97 kB / 0.8583 GB, free: 105.7 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01091/1.971, allocations: 2.874 MB / 0.8611 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.971, allocations: 15.97 kB / 0.8612 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002186/1.974, allocations: 0.5051 MB / 0.8617 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009404/1.983, allocations: 0.9515 MB / 0.8626 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007387/1.991, allocations: 2.256 MB / 0.8648 GB, free: 98.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/1.991, allocations: 242.4 kB / 0.865 GB, free: 98.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/1.992, allocations: 311.9 kB / 0.8653 GB, free: 98.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/2.011, allocations: 5.621 MB / 0.8708 GB, free: 92.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001725/2.011, allocations: 15.88 kB / 0.8708 GB, free: 92.44 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/2.013, allocations: 147.9 kB / 0.871 GB, free: 92.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001188/2.014, allocations: 326.2 kB / 0.8713 GB, free: 91.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/2.03, allocations: 4.003 MB / 0.8752 GB, free: 87.96 MB / 0.6511 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.05596/2.086, allocations: 22.15 MB / 0.8968 GB, free: 64.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/2.09, allocations: 1.443 MB / 0.8982 GB, free: 63.33 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/2.093, allocations: 1.495 MB / 0.8997 GB, free: 61.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/2.093, allocations: 16.97 kB / 0.8997 GB, free: 61.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/2.093, allocations: 43.56 kB / 0.8997 GB, free: 61.76 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=110): time 4.088e-06/2.093, allocations: 4 kB / 0.8997 GB, free: 61.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=179): time 0.2546/2.348, allocations: 33.12 MB / 0.9321 GB, free: 28.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/2.348, allocations: 73.34 kB / 0.9322 GB, free: 28.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/2.351, allocations: 1.219 MB / 0.9333 GB, free: 27.28 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004944/2.351, allocations: 53.7 kB / 0.9334 GB, free: 27.22 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/2.352, allocations: 1.518 MB / 0.9349 GB, free: 25.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009583/2.353, allocations: 0.6084 MB / 0.9355 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/2.354, allocations: 36 kB / 0.9355 GB, free: 25.03 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001633/2.354, allocations: 385.9 kB / 0.9359 GB, free: 24.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004192/2.358, allocations: 1.784 MB / 0.9376 GB, free: 22.86 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/2.363, allocations: 2.303 MB / 0.9399 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004889/2.368, allocations: 2.051 MB / 0.9419 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/2.368, allocations: 4 kB / 0.9419 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02285/2.391, allocations: 7.376 MB / 0.9491 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/2.391, allocations: 13.56 kB / 0.9491 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/2.391, allocations: 16 kB / 0.9491 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06354/2.454, allocations: 8.475 MB / 0.9574 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/2.457, allocations: 295.5 kB / 0.9577 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07998/2.537, allocations: 19.67 MB / 0.9769 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005039/2.542, allocations: 139.8 kB / 0.977 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/2.543, allocations: 175.9 kB / 0.9772 GB, free: 13.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {10 14,6 12,5 7} Notification: Performance of prepare postOptimizeDAE: time 0.001264/2.545, allocations: 216.5 kB / 0.9774 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/2.546, allocations: 205.5 kB / 0.9776 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03312/2.579, allocations: 7.329 MB / 0.9847 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/2.579, allocations: 16 kB / 0.9848 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-05/2.579, allocations: 15.94 kB / 0.9848 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.095e-05/2.579, allocations: 12.08 kB / 0.9848 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04011/2.619, allocations: 11.88 MB / 0.9964 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/2.62, allocations: 8 kB / 0.9964 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/2.621, allocations: 176.5 kB / 0.9966 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06793/2.689, allocations: 8.365 MB / 1.005 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000604/2.69, allocations: 83.92 kB / 1.005 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04927/2.739, allocations: 19.3 MB / 1.024 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/2.739, allocations: 8.25 kB / 1.024 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02464/2.764, allocations: 7.56 MB / 1.031 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/2.766, allocations: 0.7131 MB / 1.032 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008665/2.767, allocations: 51.94 kB / 1.032 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/2.77, allocations: 123.8 kB / 1.032 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009534/2.771, allocations: 188.9 kB / 1.032 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004672/2.772, allocations: 139.9 kB / 1.032 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002312/2.774, allocations: 0.9426 MB / 1.033 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.41e-07/2.774, allocations: 0 / 1.033 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004692/2.779, allocations: 0.8867 MB / 1.034 GB, free: 2.375 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {5 7,6 12,10 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0305/2.809, allocations: 10.8 MB / 1.045 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01969/2.829, allocations: 5.803 MB / 1.05 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.829, allocations: 4 kB / 1.05 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.5733/3.402, allocations: 3.601 MB / 1.054 GB, free: 207.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/3.406, allocations: 458 kB / 1.054 GB, free: 207.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/3.428, allocations: 7.028 MB / 1.061 GB, free: 206.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004414/3.432, allocations: 2.743 MB / 1.064 GB, free: 205.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001975/3.434, allocations: 380.2 kB / 1.064 GB, free: 205.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002114/3.436, allocations: 1.221 MB / 1.065 GB, free: 205.8 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/3.436, allocations: 3.719 kB / 1.065 GB, free: 205.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1961/3.633, allocations: 76.17 MB / 1.14 GB, free: 174.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/3.633, allocations: 220.4 kB / 1.14 GB, free: 174.2 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_RL.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c:7: In file included from ./Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_functions.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c:2: In file included from ./Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_records.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_01exo.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c:2: In file included from ./Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_02nls.o Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c In file included from Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2: In file included from ./Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_02nls.c:364:6: error: redefinition of 'residualFunc519' void residualFunc519(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:10:6: note: previous definition is here void residualFunc519(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:400:6: error: redefinition of 'initializeSparsePatternNLS519' void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:46:6: note: previous definition is here void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:405:6: error: redefinition of 'initializeStaticDataNLS519' void initializeStaticDataNLS519(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:51:6: note: previous definition is here void initializeStaticDataNLS519(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:418:6: error: redefinition of 'getIterationVarsNLS519' void getIterationVarsNLS519(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:64:6: note: previous definition is here void getIterationVarsNLS519(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1514:6: error: redefinition of 'residualFunc465' void residualFunc465(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:931:6: note: previous definition is here void residualFunc465(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1550:6: error: redefinition of 'initializeSparsePatternNLS465' void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:967:6: note: previous definition is here void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1555:6: error: redefinition of 'initializeStaticDataNLS465' void initializeStaticDataNLS465(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:972:6: note: previous definition is here void initializeStaticDataNLS465(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1568:6: error: redefinition of 'getIterationVarsNLS465' void getIterationVarsNLS465(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:985:6: note: previous definition is here void getIterationVarsNLS465(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1577:6: error: redefinition of 'residualFunc461' void residualFunc461(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:868:6: note: previous definition is here void residualFunc461(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1613:6: error: redefinition of 'initializeSparsePatternNLS461' void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:904:6: note: previous definition is here void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1618:6: error: redefinition of 'initializeStaticDataNLS461' void initializeStaticDataNLS461(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:909:6: note: previous definition is here void initializeStaticDataNLS461(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1631:6: error: redefinition of 'getIterationVarsNLS461' void getIterationVarsNLS461(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:922:6: note: previous definition is here void getIterationVarsNLS461(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2286:6: error: redefinition of 'residualFunc212' void residualFunc212(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1703:6: note: previous definition is here void residualFunc212(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2322:6: error: redefinition of 'initializeSparsePatternNLS212' void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1739:6: note: previous definition is here void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2327:6: error: redefinition of 'initializeStaticDataNLS212' void initializeStaticDataNLS212(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1744:6: note: previous definition is here void initializeStaticDataNLS212(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2340:6: error: redefinition of 'getIterationVarsNLS212' void getIterationVarsNLS212(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1757:6: note: previous definition is here void getIterationVarsNLS212(struct DATA *inData, double *array) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2349:6: error: redefinition of 'residualFunc208' void residualFunc208(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1640:6: note: previous definition is here void residualFunc208(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2385:6: error: redefinition of 'initializeSparsePatternNLS208' void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1676:6: note: previous definition is here void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2390:6: error: redefinition of 'initializeStaticDataNLS208' void initializeStaticDataNLS208(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1681:6: note: previous definition is here void initializeStaticDataNLS208(void *inData, threadData_t *threadData, void *inSystemData) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. : recipe for target 'Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o' failed make: *** [Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o] Error 1