Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadModel(Buildings): time 3.608/3.608, allocations: 402 MB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.724e-05/4.751e-05, allocations: 4 kB / 0.5004 GB, free: 8.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 92.7 MB / 0.5909 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6455/0.8518, allocations: 147.7 MB / 0.7351 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.8521, allocations: 95.94 kB / 0.7352 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.5654/1.418, allocations: 128.1 MB / 0.8604 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.583e-06/1.418, allocations: 4 kB / 0.8604 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002322/1.418, allocations: 83.98 kB / 0.8604 GB, free: 8.824 MB / 0.7292 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.00898/1.427, allocations: 2.879 MB / 0.8632 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/1.427, allocations: 12.03 kB / 0.8633 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0083/1.435, allocations: 0.963 MB / 0.8642 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00645/1.442, allocations: 2.26 MB / 0.8664 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/1.442, allocations: 242.4 kB / 0.8666 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/1.444, allocations: 319.9 kB / 0.8669 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/1.459, allocations: 5.675 MB / 0.8725 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/1.459, allocations: 11.88 kB / 0.8725 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006047/1.46, allocations: 144 kB / 0.8726 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007693/1.461, allocations: 326.2 kB / 0.8729 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/1.472, allocations: 4.077 MB / 0.8769 GB, free: 7.465 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.466/1.938, allocations: 22.13 MB / 0.8985 GB, free: 171 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/1.941, allocations: 1.451 MB / 0.9 GB, free: 171 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/1.941, allocations: 23.06 kB / 0.9 GB, free: 171 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/1.941, allocations: 42.34 kB / 0.9 GB, free: 171 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=110): time 5.201e-06/1.941, allocations: 2.953 kB / 0.9 GB, free: 171 MB / 0.7448 GB Notification: Performance of matching and sorting (n=179): time 0.1854/2.126, allocations: 34.41 MB / 0.9336 GB, free: 170 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/2.126, allocations: 75.38 kB / 0.9337 GB, free: 169.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/2.128, allocations: 1.235 MB / 0.9349 GB, free: 169.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003845/2.129, allocations: 49.27 kB / 0.935 GB, free: 169.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000873/2.13, allocations: 1.518 MB / 0.9364 GB, free: 169.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006711/2.13, allocations: 0.5998 MB / 0.937 GB, free: 168.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/2.131, allocations: 39.44 kB / 0.9371 GB, free: 168.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001306/2.131, allocations: 384.6 kB / 0.9374 GB, free: 168.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003039/2.134, allocations: 1.816 MB / 0.9392 GB, free: 168.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003374/2.137, allocations: 2.319 MB / 0.9415 GB, free: 167.9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/2.141, allocations: 2.071 MB / 0.9435 GB, free: 167.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/2.141, allocations: 3.719 kB / 0.9435 GB, free: 167.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01672/2.158, allocations: 7.441 MB / 0.9508 GB, free: 167.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/2.158, allocations: 11.44 kB / 0.9508 GB, free: 167.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/2.158, allocations: 18.44 kB / 0.9508 GB, free: 167.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04534/2.203, allocations: 8.48 MB / 0.9591 GB, free: 167.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/2.204, allocations: 290.4 kB / 0.9593 GB, free: 167.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03419/2.239, allocations: 20.48 MB / 0.9793 GB, free: 158.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/2.241, allocations: 137.5 kB / 0.9795 GB, free: 158.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005391/2.242, allocations: 174.2 kB / 0.9796 GB, free: 158.5 MB / 0.7448 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.003154/2.245, allocations: 1.317 MB / 0.9809 GB, free: 157.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006567/2.246, allocations: 200 kB / 0.9811 GB, free: 157.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01672/2.262, allocations: 7.393 MB / 0.9883 GB, free: 155.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/2.262, allocations: 17.5 kB / 0.9884 GB, free: 155.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-05/2.262, allocations: 10.5 kB / 0.9884 GB, free: 155.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.939e-05/2.262, allocations: 10.12 kB / 0.9884 GB, free: 155.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02725/2.29, allocations: 11.94 MB / 1 GB, free: 151.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/2.29, allocations: 4.594 kB / 1 GB, free: 151.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009105/2.291, allocations: 176 kB / 1 GB, free: 151.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04604/2.337, allocations: 8.381 MB / 1.008 GB, free: 145.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004868/2.337, allocations: 74.8 kB / 1.008 GB, free: 145.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03287/2.37, allocations: 20.08 MB / 1.028 GB, free: 125.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.643e-06/2.37, allocations: 11 kB / 1.028 GB, free: 125.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/2.386, allocations: 7.617 MB / 1.036 GB, free: 117.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/2.388, allocations: 0.7129 MB / 1.036 GB, free: 117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006623/2.389, allocations: 39.95 kB / 1.036 GB, free: 116.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/2.39, allocations: 131.7 kB / 1.036 GB, free: 116.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/2.391, allocations: 184 kB / 1.037 GB, free: 116.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/2.391, allocations: 143.9 kB / 1.037 GB, free: 116.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001575/2.393, allocations: 0.9509 MB / 1.038 GB, free: 115.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.01e-07/2.393, allocations: 0 / 1.038 GB, free: 115.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003901/2.397, allocations: 0.8907 MB / 1.038 GB, free: 114.7 MB / 0.7448 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.0005347/2.398, allocations: 176.7 kB / 1.039 GB, free: 114.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01254/2.41, allocations: 5.888 MB / 1.044 GB, free: 108.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/2.41, allocations: 0 / 1.044 GB, free: 108.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.009031/2.419, allocations: 3.669 MB / 1.048 GB, free: 105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/2.422, allocations: 452.6 kB / 1.048 GB, free: 104.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/2.437, allocations: 8.606 MB / 1.057 GB, free: 95.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004254/2.441, allocations: 2.735 MB / 1.06 GB, free: 93.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001601/2.443, allocations: 392.5 kB / 1.06 GB, free: 92.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/2.443, allocations: 91.44 kB / 1.06 GB, free: 92.67 MB / 0.7448 GB Notification: Performance of SimCode: time 1.579e-06/2.443, allocations: 0 / 1.06 GB, free: 92.67 MB / 0.7448 GB Notification: Performance of Templates: time 0.1017/2.545, allocations: 52.38 MB / 1.111 GB, free: 41.43 MB / 0.7448 GB make -j1 -f Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 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=] 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