Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.42/2.42, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 189 kB / 325.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.5764 GB, free: 21.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 100.2 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004846, allocations: 12.31 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.5789, allocations: 161.7 MB / 1.057 GB, free: 0 / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.5915/1.17, allocations: 95.86 kB / 1.057 GB, free: 153.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2666/1.437, allocations: 62.78 MB / 1.118 GB, free: 115.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.765e-06/1.437, allocations: 0 / 1.118 GB, free: 115.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001347/1.437, allocations: 43.98 kB / 1.118 GB, free: 115.6 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00728/1.445, allocations: 1.756 MB / 1.12 GB, free: 113.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.445, allocations: 16.03 kB / 1.12 GB, free: 113.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001408/1.446, allocations: 265 kB / 1.12 GB, free: 113.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/1.451, allocations: 493.1 kB / 1.121 GB, free: 113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/1.455, allocations: 1.275 MB / 1.122 GB, free: 111.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/1.455, allocations: 119 kB / 1.122 GB, free: 111.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006643/1.456, allocations: 155.9 kB / 1.122 GB, free: 111.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008565/1.465, allocations: 3.124 MB / 1.125 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.809e-05/1.465, allocations: 0 / 1.125 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003914/1.465, allocations: 67.97 kB / 1.125 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0011/1.466, allocations: 183 kB / 1.125 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007354/1.474, allocations: 2.51 MB / 1.128 GB, free: 105.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03514/1.509, allocations: 14.86 MB / 1.142 GB, free: 89.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/1.513, allocations: 1.814 MB / 1.144 GB, free: 87.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/1.514, allocations: 20.97 kB / 1.144 GB, free: 87.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.514, allocations: 47.5 kB / 1.144 GB, free: 87.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.298e-06/1.514, allocations: 0 / 1.144 GB, free: 87.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=183): time 0.3108/1.824, allocations: 31.31 MB / 1.175 GB, free: 56.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/1.825, allocations: 69.41 kB / 1.175 GB, free: 56.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/1.827, allocations: 1.072 MB / 1.176 GB, free: 55.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006134/1.828, allocations: 57.7 kB / 1.176 GB, free: 55.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/1.828, allocations: 0.7796 MB / 1.177 GB, free: 54.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009983/1.829, allocations: 0.6199 MB / 1.177 GB, free: 53.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005647/1.83, allocations: 40 kB / 1.177 GB, free: 53.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.83, allocations: 385.9 kB / 1.178 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005066/1.835, allocations: 2.12 MB / 1.18 GB, free: 51.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00541/1.84, allocations: 2.45 MB / 1.182 GB, free: 48.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005783/1.846, allocations: 2.395 MB / 1.185 GB, free: 46.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/1.846, allocations: 4 kB / 1.185 GB, free: 46.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.02807/1.874, allocations: 8.332 MB / 1.193 GB, free: 37.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/1.875, allocations: 11.98 kB / 1.193 GB, free: 37.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.692e-05/1.875, allocations: 8 kB / 1.193 GB, free: 37.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09687/1.971, allocations: 11.26 MB / 1.204 GB, free: 26.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.973, allocations: 251.6 kB / 1.204 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05571/2.029, allocations: 23.92 MB / 1.227 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/2.033, allocations: 123.8 kB / 1.227 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/2.034, allocations: 263.8 kB / 1.228 GB, free: 1.621 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,12 34} Notification: Performance of prepare postOptimizeDAE: time 0.002788/2.037, allocations: 0.8038 MB / 1.228 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007089/2.038, allocations: 134.4 kB / 1.229 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03067/2.068, allocations: 8.016 MB / 1.236 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-05/2.068, allocations: 16 kB / 1.236 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.222e-05/2.069, allocations: 20 kB / 1.236 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-05/2.069, allocations: 7.969 kB / 1.236 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04788/2.116, allocations: 12.52 MB / 1.249 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-05/2.117, allocations: 4 kB / 1.249 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/2.118, allocations: 124.3 kB / 1.249 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1008/2.219, allocations: 10.96 MB / 1.26 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007362/2.219, allocations: 91.89 kB / 1.26 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05867/2.278, allocations: 19.97 MB / 1.279 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/2.278, allocations: 7.938 kB / 1.279 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03678/2.315, allocations: 7.581 MB / 1.287 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004589/2.32, allocations: 0.8348 MB / 1.287 GB, free: 3.828 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/2.321, allocations: 35.98 kB / 1.287 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00444/2.326, allocations: 91.78 kB / 1.287 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001914/2.327, allocations: 193.6 kB / 1.288 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001289/2.329, allocations: 175.9 kB / 1.288 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003476/2.332, allocations: 0.8436 MB / 1.289 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.362e-06/2.332, allocations: 0 / 1.289 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007303/2.34, allocations: 0.7737 MB / 1.289 GB, free: 1.711 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(13,89.3%) 25} * Non-linear torn systems: 2 {8 16,13 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.03954/2.379, allocations: 9.391 MB / 1.299 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02199/2.401, allocations: 6.01 MB / 1.304 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/2.401, allocations: 4 kB / 1.304 GB, free: 2.129 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01619/2.418, allocations: 3.593 MB / 1.308 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/2.42, allocations: 195.9 kB / 1.308 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06995/2.49, allocations: 26.56 MB / 1.334 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003198/2.494, allocations: 1.831 MB / 1.336 GB, free: 1.363 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002084/2.496, allocations: 402.9 kB / 1.336 GB, free: 0.9648 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/2.498, allocations: 0.6749 MB / 1.337 GB, free: 296 kB / 0.8073 GB Notification: Performance of SimCode: time 1.483e-06/2.498, allocations: 3.938 kB / 1.337 GB, free: 292 kB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8865/3.384, allocations: 75.97 MB / 1.411 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/3.385, allocations: 245.6 kB / 1.411 GB, free: 271.9 MB / 0.8542 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1637:6: error: redefinition of 'residualFunc452' void residualFunc452(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:641:6: note: previous definition is here void residualFunc452(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:681:6: note: previous definition is here void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1682:6: error: redefinition of 'initializeStaticDataNLS452' void initializeStaticDataNLS452(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:686:6: note: previous definition is here void initializeStaticDataNLS452(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1695:6: error: redefinition of 'getIterationVarsNLS452' void getIterationVarsNLS452(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:699:6: note: previous definition is here void getIterationVarsNLS452(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3337:6: error: redefinition of 'residualFunc66' void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2335:6: note: previous definition is here void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2375:6: note: previous definition is here void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3382:6: error: redefinition of 'initializeStaticDataNLS66' void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2380:6: note: previous definition is here void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3395:6: error: redefinition of 'getIterationVarsNLS66' void getIterationVarsNLS66(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2393:6: note: previous definition is here void getIterationVarsNLS66(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. : recipe for target 'Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o' failed make: *** [Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1