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_RLC_N.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_RLC_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.981/3.981, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.504e-05, allocations: 5.047 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2091, allocations: 98.73 MB / 0.6347 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.847/1.056, allocations: 154.7 MB / 0.7858 GB, free: 57.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/1.057, allocations: 91.72 kB / 0.7859 GB, free: 57.58 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2765/1.333, allocations: 62.52 MB / 0.8469 GB, free: 44.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.555e-06/1.333, allocations: 0 / 0.8469 GB, free: 44.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001792/1.333, allocations: 35.25 kB / 0.847 GB, free: 44.5 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.007992/1.341, allocations: 1.616 MB / 0.8485 GB, free: 43.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.341, allocations: 7.812 kB / 0.8485 GB, free: 43.46 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001336/1.343, allocations: 263.6 kB / 0.8488 GB, free: 43.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006468/1.349, allocations: 491.1 kB / 0.8493 GB, free: 43.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005271/1.355, allocations: 1.278 MB / 0.8505 GB, free: 42.58 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/1.355, allocations: 111.4 kB / 0.8506 GB, free: 42.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/1.356, allocations: 150.7 kB / 0.8508 GB, free: 42.55 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/1.367, allocations: 3.096 MB / 0.8538 GB, free: 41.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-05/1.367, allocations: 7.844 kB / 0.8538 GB, free: 41.63 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004915/1.368, allocations: 68.62 kB / 0.8539 GB, free: 41.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/1.369, allocations: 178.6 kB / 0.854 GB, free: 41.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007367/1.376, allocations: 2.476 MB / 0.8564 GB, free: 41.28 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03452/1.411, allocations: 14.86 MB / 0.8709 GB, free: 32.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/1.415, allocations: 1.798 MB / 0.8727 GB, free: 32.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00336/1.419, allocations: 1.523 MB / 0.8742 GB, free: 32.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/1.419, allocations: 24.19 kB / 0.8742 GB, free: 32.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/1.419, allocations: 46.7 kB / 0.8743 GB, free: 32.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 4.008e-06/1.419, allocations: 0 / 0.8743 GB, free: 32.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.2489/1.668, allocations: 29.23 MB / 0.9028 GB, free: 16.63 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/1.668, allocations: 77.34 kB / 0.9029 GB, free: 16.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/1.67, allocations: 1.053 MB / 0.9039 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005883/1.671, allocations: 57.2 kB / 0.904 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/1.671, allocations: 0.7832 MB / 0.9047 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008663/1.672, allocations: 0.6274 MB / 0.9053 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004118/1.672, allocations: 37 kB / 0.9054 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.673, allocations: 386.3 kB / 0.9057 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/1.677, allocations: 2.085 MB / 0.9078 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00697/1.684, allocations: 2.431 MB / 0.9101 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008677/1.693, allocations: 2.385 MB / 0.9125 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/1.693, allocations: 0 / 0.9125 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.04053/1.734, allocations: 8.262 MB / 0.9205 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/1.734, allocations: 8 kB / 0.9206 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/1.734, allocations: 12 kB / 0.9206 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.146/1.88, allocations: 11.24 MB / 0.9315 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.882, allocations: 247.5 kB / 0.9318 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06251/1.945, allocations: 22.92 MB / 0.9542 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/1.948, allocations: 131.8 kB / 0.9543 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/1.95, allocations: 263.8 kB / 0.9545 GB, free: 12.09 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 () * 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.0009069/1.951, allocations: 200.4 kB / 0.9547 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007386/1.951, allocations: 146.3 kB / 0.9549 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02842/1.98, allocations: 7.945 MB / 0.9626 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/1.98, allocations: 20 kB / 0.9627 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/1.98, allocations: 16 kB / 0.9627 GB, free: 3.727 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.762e-05/1.98, allocations: 7.969 kB / 0.9627 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04089/2.021, allocations: 12.58 MB / 0.975 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/2.021, allocations: 4 kB / 0.975 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/2.022, allocations: 119.8 kB / 0.9751 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09842/2.12, allocations: 10.91 MB / 0.9857 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008083/2.121, allocations: 95.83 kB / 0.9858 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05425/2.176, allocations: 19.17 MB / 1.005 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/2.176, allocations: 7.938 kB / 1.005 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02781/2.203, allocations: 7.534 MB / 1.012 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003167/2.207, allocations: 0.8308 MB / 1.013 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008801/2.208, allocations: 35.94 kB / 1.013 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/2.21, allocations: 91.88 kB / 1.013 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/2.211, allocations: 185.6 kB / 1.013 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006408/2.212, allocations: 179.9 kB / 1.013 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0022/2.214, allocations: 0.8361 MB / 1.014 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.92e-07/2.214, allocations: 0 / 1.014 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004772/2.219, allocations: 0.7695 MB / 1.015 GB, free: 13.66 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 () * 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,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,13 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.02866/2.248, allocations: 9.287 MB / 1.024 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01988/2.268, allocations: 5.922 MB / 1.03 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/2.268, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01601/2.284, allocations: 3.558 MB / 1.033 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/2.287, allocations: 189.5 kB / 1.033 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/2.308, allocations: 4.901 MB / 1.038 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003839/2.312, allocations: 1.831 MB / 1.04 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002819/2.314, allocations: 406.9 kB / 1.04 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002609/2.317, allocations: 0.671 MB / 1.041 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of SimCode: time 1.543e-06/2.317, allocations: 0 / 1.041 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7268/3.044, allocations: 76.09 MB / 1.115 GB, free: 265.1 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/3.044, allocations: 211.7 kB / 1.115 GB, free: 264.9 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_RLC_N.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_6_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: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_RLC_N_functions.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_6_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: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_RLC_N_records.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_6_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: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_RLC_N_01exo.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_6_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: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_RLC_N_02nls.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_6_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: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_RLC_N_02nls.c:1637:6: error: redefinition of 'residualFunc453' void residualFunc453(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:641:6: note: previous definition is here void residualFunc453(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS453' void initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:681:6: note: previous definition is here void initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1682:6: error: redefinition of 'initializeStaticDataNLS453' void initializeStaticDataNLS453(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:686:6: note: previous definition is here void initializeStaticDataNLS453(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1695:6: error: redefinition of 'getIterationVarsNLS453' void getIterationVarsNLS453(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:699:6: note: previous definition is here void getIterationVarsNLS453(struct DATA *inData, double *array) ^ Buildings_6_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_6_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_6_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_6_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_6_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_6_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_6_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_6_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o' failed make: *** [Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1