Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) 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.029/4.029, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.017e-05/4.037e-05, allocations: 9.688 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.209, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8011/1.01, allocations: 152.1 MB / 0.7832 GB, free: 56.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/1.011, allocations: 91.94 kB / 0.7833 GB, free: 56.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5038/1.514, allocations: 128.4 MB / 0.9087 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.294e-06/1.514, allocations: 0 / 0.9087 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003035/1.515, allocations: 87.92 kB / 0.9088 GB, free: 11.87 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.01164/1.526, allocations: 2.878 MB / 0.9116 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/1.526, allocations: 8.031 kB / 0.9116 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002682/1.529, allocations: 0.4974 MB / 0.9121 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009694/1.539, allocations: 0.9826 MB / 0.9131 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007398/1.546, allocations: 2.252 MB / 0.9153 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/1.547, allocations: 242.4 kB / 0.9155 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/1.548, allocations: 312 kB / 0.9158 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0174/1.566, allocations: 5.617 MB / 0.9213 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/1.566, allocations: 15.88 kB / 0.9213 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001475/1.567, allocations: 143.9 kB / 0.9214 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/1.569, allocations: 326.2 kB / 0.9217 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/1.583, allocations: 4.015 MB / 0.9257 GB, free: 10.12 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.05559/1.638, allocations: 29.12 MB / 0.9541 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/1.643, allocations: 1.439 MB / 0.9555 GB, free: 8.836 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003625/1.646, allocations: 1.491 MB / 0.957 GB, free: 7.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/1.647, allocations: 20.98 kB / 0.957 GB, free: 7.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/1.647, allocations: 47.5 kB / 0.957 GB, free: 7.266 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 3.988e-06/1.647, allocations: 0 / 0.957 GB, free: 7.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=179): time 0.2939/1.941, allocations: 33.14 MB / 0.9894 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.941, allocations: 69.41 kB / 0.9895 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/1.944, allocations: 1.215 MB / 0.9906 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005474/1.944, allocations: 57.7 kB / 0.9907 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/1.946, allocations: 1.519 MB / 0.9922 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.947, allocations: 0.6084 MB / 0.9928 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/1.947, allocations: 36 kB / 0.9928 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002753/1.948, allocations: 381.9 kB / 0.9932 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004835/1.953, allocations: 1.796 MB / 0.9949 GB, free: 348 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005299/1.958, allocations: 2.287 MB / 0.9972 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005461/1.963, allocations: 2.063 MB / 0.9992 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/1.963, allocations: 4 kB / 0.9992 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02592/1.989, allocations: 7.379 MB / 1.006 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/1.989, allocations: 12 kB / 1.006 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.04e-05/1.989, allocations: 16 kB / 1.006 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06911/2.059, allocations: 8.499 MB / 1.015 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/2.061, allocations: 291.5 kB / 1.015 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05163/2.113, allocations: 19.68 MB / 1.034 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/2.116, allocations: 143.7 kB / 1.034 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008651/2.117, allocations: 171.9 kB / 1.035 GB, free: 7.066 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.0008971/2.118, allocations: 224.5 kB / 1.035 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008807/2.119, allocations: 197.7 kB / 1.035 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03717/2.156, allocations: 7.328 MB / 1.042 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.608e-05/2.156, allocations: 16 kB / 1.042 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-05/2.156, allocations: 20 kB / 1.042 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.465e-05/2.156, allocations: 7.969 kB / 1.042 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1071/2.263, allocations: 11.89 MB / 1.054 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/2.263, allocations: 12.16 kB / 1.054 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/2.266, allocations: 171.7 kB / 1.054 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09291/2.359, allocations: 8.373 MB / 1.062 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006015/2.359, allocations: 79.92 kB / 1.062 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04971/2.409, allocations: 19.28 MB / 1.081 GB, free: 6.75 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/2.409, allocations: 11.94 kB / 1.081 GB, free: 6.738 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5707/2.98, allocations: 7.571 MB / 1.088 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00276/2.983, allocations: 0.7115 MB / 1.089 GB, free: 226 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009694/2.984, allocations: 41.34 kB / 1.089 GB, free: 226 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/2.987, allocations: 129 kB / 1.089 GB, free: 226 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/2.988, allocations: 185.4 kB / 1.089 GB, free: 226 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005053/2.988, allocations: 150.5 kB / 1.09 GB, free: 226 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002506/2.991, allocations: 0.9304 MB / 1.09 GB, free: 225.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.51e-07/2.991, allocations: 3 kB / 1.09 GB, free: 225.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005295/2.996, allocations: 0.9097 MB / 1.091 GB, free: 225.9 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.03025/3.026, allocations: 10.79 MB / 1.102 GB, free: 222.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02002/3.047, allocations: 5.807 MB / 1.108 GB, free: 222.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/3.047, allocations: 2.125 kB / 1.108 GB, free: 222.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0134/3.06, allocations: 3.613 MB / 1.111 GB, free: 221.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004194/3.064, allocations: 467.1 kB / 1.112 GB, free: 221.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/3.083, allocations: 6.678 MB / 1.118 GB, free: 220.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004994/3.088, allocations: 2.744 MB / 1.121 GB, free: 219.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00203/3.091, allocations: 380.1 kB / 1.121 GB, free: 219.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002424/3.093, allocations: 1.222 MB / 1.122 GB, free: 219.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.613e-06/3.093, allocations: 0 / 1.122 GB, free: 219.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1695/3.263, allocations: 76.23 MB / 1.197 GB, free: 197.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/3.263, allocations: 212.2 kB / 1.197 GB, free: 197.2 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