Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.039/4.039, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.329e-05/4.35e-05, allocations: 5.875 kB / 0.5338 GB, free: 12.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2241, allocations: 98.73 MB / 0.6302 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8759/1.1, allocations: 152.1 MB / 0.7787 GB, free: 57.88 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/1.101, allocations: 90.47 kB / 0.7788 GB, free: 57.88 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5036/1.604, allocations: 128.4 MB / 0.9042 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.366e-06/1.604, allocations: 0 / 0.9042 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003444/1.605, allocations: 83.92 kB / 0.9042 GB, free: 15.59 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.01231/1.617, allocations: 2.878 MB / 0.9071 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.617, allocations: 12.03 kB / 0.9071 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002629/1.62, allocations: 0.4974 MB / 0.9076 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/1.63, allocations: 0.9826 MB / 0.9085 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0075/1.637, allocations: 2.248 MB / 0.9107 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/1.638, allocations: 242.3 kB / 0.9109 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001743/1.639, allocations: 315.8 kB / 0.9112 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/1.658, allocations: 5.578 MB / 0.9167 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001956/1.658, allocations: 15.88 kB / 0.9167 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001575/1.66, allocations: 147.9 kB / 0.9168 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001013/1.661, allocations: 326.2 kB / 0.9172 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/1.674, allocations: 3.936 MB / 0.921 GB, free: 13.96 MB / 0.6667 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.05778/1.732, allocations: 29.13 MB / 0.9494 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/1.736, allocations: 1.437 MB / 0.9508 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/1.74, allocations: 1.491 MB / 0.9523 GB, free: 11.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/1.74, allocations: 16.98 kB / 0.9523 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/1.74, allocations: 43.56 kB / 0.9524 GB, free: 11.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 6.863e-06/1.74, allocations: 4 kB / 0.9524 GB, free: 11.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=179): time 0.2762/2.016, allocations: 33.14 MB / 0.9847 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/2.016, allocations: 73.34 kB / 0.9848 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/2.019, allocations: 1.215 MB / 0.986 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005798/2.02, allocations: 57.7 kB / 0.986 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/2.022, allocations: 1.519 MB / 0.9875 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/2.023, allocations: 0.6045 MB / 0.9881 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/2.023, allocations: 44 kB / 0.9882 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002489/2.024, allocations: 381.9 kB / 0.9885 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004844/2.028, allocations: 1.792 MB / 0.9903 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00568/2.034, allocations: 2.276 MB / 0.9925 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005621/2.04, allocations: 2.063 MB / 0.9945 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/2.04, allocations: 4 kB / 0.9945 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02694/2.067, allocations: 7.34 MB / 1.002 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/2.067, allocations: 12.94 kB / 1.002 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/2.067, allocations: 16 kB / 1.002 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08503/2.152, allocations: 8.502 MB / 1.01 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/2.155, allocations: 287.5 kB / 1.01 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05757/2.213, allocations: 19.69 MB / 1.03 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/2.216, allocations: 131.8 kB / 1.03 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008171/2.217, allocations: 183.9 kB / 1.03 GB, free: 10.94 MB / 0.7761 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.0007777/2.218, allocations: 216.5 kB / 1.03 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008372/2.219, allocations: 193.7 kB / 1.03 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0266/2.245, allocations: 7.336 MB / 1.037 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.771e-05/2.246, allocations: 20 kB / 1.037 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.21e-05/2.246, allocations: 12 kB / 1.037 GB, free: 3.121 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.043e-05/2.246, allocations: 7.969 kB / 1.037 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04223/2.288, allocations: 11.87 MB / 1.049 GB, free: 7.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-05/2.288, allocations: 8 kB / 1.049 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/2.29, allocations: 167.7 kB / 1.049 GB, free: 6.898 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06856/2.358, allocations: 8.369 MB / 1.057 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006593/2.359, allocations: 75.92 kB / 1.057 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05097/2.41, allocations: 19.31 MB / 1.076 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/2.41, allocations: 11.94 kB / 1.076 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02561/2.436, allocations: 7.573 MB / 1.084 GB, free: 2.758 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/2.438, allocations: 0.7169 MB / 1.084 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009497/2.439, allocations: 36 kB / 1.084 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/2.442, allocations: 131.8 kB / 1.085 GB, free: 1.855 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/2.444, allocations: 176.9 kB / 1.085 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004946/2.444, allocations: 147.9 kB / 1.085 GB, free: 1.535 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002418/2.446, allocations: 0.9348 MB / 1.086 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.042e-06/2.447, allocations: 4.375 kB / 1.086 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.6426/3.089, allocations: 0.9125 MB / 1.087 GB, free: 231.8 MB / 0.823 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.03086/3.12, allocations: 10.78 MB / 1.097 GB, free: 228.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01933/3.139, allocations: 5.725 MB / 1.103 GB, free: 228.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/3.14, allocations: 1 kB / 1.103 GB, free: 228.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01372/3.153, allocations: 3.569 MB / 1.106 GB, free: 227.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004226/3.158, allocations: 470.3 kB / 1.107 GB, free: 227.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02785/3.185, allocations: 6.67 MB / 1.113 GB, free: 226.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007887/3.193, allocations: 2.739 MB / 1.116 GB, free: 225.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002953/3.196, allocations: 385.4 kB / 1.116 GB, free: 225.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003588/3.2, allocations: 1.22 MB / 1.117 GB, free: 225.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.244e-06/3.2, allocations: 0 / 1.117 GB, free: 225.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2339/3.434, allocations: 75.98 MB / 1.192 GB, free: 201.7 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/3.434, allocations: 219.7 kB / 1.192 GB, free: 201.5 MB / 0.823 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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c:7: In file included from ./Buildings_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c:2: In file included from ./Buildings_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.c In file included from Buildings_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c:2: In file included from ./Buildings_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2: In file included from ./Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:400:6: error: redefinition of 'initializeSparsePatternNLS519' void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:46:6: note: previous definition is here void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:418:6: error: redefinition of 'getIterationVarsNLS519' void getIterationVarsNLS519(struct DATA *inData, double *array) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1550:6: error: redefinition of 'initializeSparsePatternNLS465' void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:967:6: note: previous definition is here void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1568:6: error: redefinition of 'getIterationVarsNLS465' void getIterationVarsNLS465(struct DATA *inData, double *array) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1613:6: error: redefinition of 'initializeSparsePatternNLS461' void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:904:6: note: previous definition is here void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1631:6: error: redefinition of 'getIterationVarsNLS461' void getIterationVarsNLS461(struct DATA *inData, double *array) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2322:6: error: redefinition of 'initializeSparsePatternNLS212' void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1739:6: note: previous definition is here void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2340:6: error: redefinition of 'getIterationVarsNLS212' void getIterationVarsNLS212(struct DATA *inData, double *array) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2385:6: error: redefinition of 'initializeSparsePatternNLS208' void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1676:6: note: previous definition is here void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o' failed make: *** [Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o] Error 1