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_RL_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_RL_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.258/2.258, allocations: 248.5 MB / 261.1 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 176.1 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001123/0.001123, allocations: 90.48 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.873e-05/4.891e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2097, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9147/1.124, allocations: 159.9 MB / 1.047 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004139/1.125, allocations: 95.11 kB / 1.047 GB, free: 8.457 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5715/1.697, allocations: 138.9 MB / 1.183 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.134e-06/1.697, allocations: 0 / 1.183 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003663/1.697, allocations: 95.97 kB / 1.183 GB, free: 4.055 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01459/1.712, allocations: 3.322 MB / 1.186 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/1.712, allocations: 12.03 kB / 1.186 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003117/1.715, allocations: 0.5673 MB / 1.187 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/1.725, allocations: 1.052 MB / 1.188 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/1.736, allocations: 2.591 MB / 1.19 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/1.736, allocations: 279.3 kB / 1.19 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002182/1.738, allocations: 367.8 kB / 1.191 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02294/1.761, allocations: 6.618 MB / 1.197 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002579/1.762, allocations: 15.94 kB / 1.197 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/1.763, allocations: 163.9 kB / 1.197 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001553/1.765, allocations: 391.2 kB / 1.198 GB, free: 4.219 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/1.782, allocations: 4.785 MB / 1.202 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07107/1.853, allocations: 32.13 MB / 1.234 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005848/1.859, allocations: 2.151 MB / 1.236 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005875/1.864, allocations: 2.212 MB / 1.238 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/1.865, allocations: 25.3 kB / 1.238 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/1.865, allocations: 47.81 kB / 1.238 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 4.137e-06/1.865, allocations: 0 / 1.238 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 1.16/3.025, allocations: 65.35 MB / 1.302 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/3.025, allocations: 78.78 kB / 1.302 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/3.028, allocations: 1.434 MB / 1.303 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007827/3.029, allocations: 62.39 kB / 1.303 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/3.03, allocations: 1.727 MB / 1.305 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/3.032, allocations: 0.8467 MB / 1.306 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/3.032, allocations: 55.47 kB / 1.306 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001889/3.033, allocations: 414.5 kB / 1.306 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006381/3.039, allocations: 2.753 MB / 1.309 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007015/3.046, allocations: 3.293 MB / 1.312 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007093/3.053, allocations: 3.078 MB / 1.315 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/3.053, allocations: 6.719 kB / 1.315 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.04039/3.094, allocations: 11.96 MB / 1.327 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/3.094, allocations: 14.38 kB / 1.327 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/3.094, allocations: 17.53 kB / 1.327 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1293/3.223, allocations: 16.65 MB / 1.343 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/3.225, allocations: 283.5 kB / 1.344 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07637/3.302, allocations: 31.18 MB / 1.374 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/3.306, allocations: 164.3 kB / 1.374 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/3.307, allocations: 266.8 kB / 1.374 GB, free: 216 MB / 0.8698 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 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {19 19,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001183/3.308, allocations: 243.2 kB / 1.375 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/3.309, allocations: 244 kB / 1.375 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03957/3.349, allocations: 12.09 MB / 1.387 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-05/3.349, allocations: 24 kB / 1.387 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.012e-05/3.349, allocations: 20 kB / 1.387 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-05/3.349, allocations: 16.75 kB / 1.387 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05496/3.404, allocations: 18.12 MB / 1.404 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.974e-05/3.404, allocations: 4 kB / 1.404 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/3.406, allocations: 170 kB / 1.405 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1322/3.538, allocations: 16.43 MB / 1.421 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009353/3.539, allocations: 119.9 kB / 1.421 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0749/3.614, allocations: 30.83 MB / 1.451 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/3.614, allocations: 11.94 kB / 1.451 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03888/3.653, allocations: 12.18 MB / 1.463 GB, free: 130 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003619/3.656, allocations: 1.009 MB / 1.464 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/3.658, allocations: 44 kB / 1.464 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003879/3.662, allocations: 158.4 kB / 1.464 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001586/3.663, allocations: 266.5 kB / 1.464 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008944/3.664, allocations: 239.8 kB / 1.464 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002593/3.667, allocations: 1.095 MB / 1.465 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.02e-07/3.667, allocations: 0 / 1.465 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006625/3.674, allocations: 1.249 MB / 1.467 GB, free: 125.9 MB / 0.8698 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 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,19 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04832/3.722, allocations: 16.22 MB / 1.483 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03178/3.754, allocations: 9.289 MB / 1.492 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/3.754, allocations: 0 / 1.492 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02412/3.778, allocations: 5.986 MB / 1.497 GB, free: 94.23 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/3.783, allocations: 490.2 kB / 1.498 GB, free: 93.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02513/3.808, allocations: 8.569 MB / 1.506 GB, free: 85.07 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006658/3.815, allocations: 3.192 MB / 1.509 GB, free: 81.84 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00203/3.817, allocations: 386.4 kB / 1.51 GB, free: 81.47 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/3.82, allocations: 1.468 MB / 1.511 GB, free: 80.01 MB / 0.8698 GB Notification: Performance of SimCode: time 1.733e-06/3.82, allocations: 3.938 kB / 1.511 GB, free: 80 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8902/4.71, allocations: 104.5 MB / 1.613 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/4.71, allocations: 223.4 kB / 1.614 GB, free: 215.1 MB / 0.8698 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c:7: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c:2: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c In file included from Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2: In file included from ./Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:528:6: error: redefinition of 'residualFunc730' void residualFunc730(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:10:6: note: previous definition is here void residualFunc730(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:568:6: error: redefinition of 'initializeSparsePatternNLS730' void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:50:6: note: previous definition is here void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:573:6: error: redefinition of 'initializeStaticDataNLS730' void initializeStaticDataNLS730(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:55:6: note: previous definition is here void initializeStaticDataNLS730(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:586:6: error: redefinition of 'getIterationVarsNLS730' void getIterationVarsNLS730(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:68:6: note: previous definition is here void getIterationVarsNLS730(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2206:6: error: redefinition of 'residualFunc652' void residualFunc652(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1359:6: note: previous definition is here void residualFunc652(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2246:6: error: redefinition of 'initializeSparsePatternNLS652' void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1399:6: note: previous definition is here void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2251:6: error: redefinition of 'initializeStaticDataNLS652' void initializeStaticDataNLS652(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1404:6: note: previous definition is here void initializeStaticDataNLS652(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2264:6: error: redefinition of 'getIterationVarsNLS652' void getIterationVarsNLS652(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1417:6: note: previous definition is here void getIterationVarsNLS652(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2273:6: error: redefinition of 'residualFunc649' void residualFunc649(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1292:6: note: previous definition is here void residualFunc649(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2313:6: error: redefinition of 'initializeSparsePatternNLS649' void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1332:6: note: previous definition is here void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2318:6: error: redefinition of 'initializeStaticDataNLS649' void initializeStaticDataNLS649(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1337:6: note: previous definition is here void initializeStaticDataNLS649(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2331:6: error: redefinition of 'getIterationVarsNLS649' void getIterationVarsNLS649(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1350:6: note: previous definition is here void getIterationVarsNLS649(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3254:6: error: redefinition of 'residualFunc285' void residualFunc285(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2407:6: note: previous definition is here void residualFunc285(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3294:6: error: redefinition of 'initializeSparsePatternNLS285' void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2447:6: note: previous definition is here void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3299:6: error: redefinition of 'initializeStaticDataNLS285' void initializeStaticDataNLS285(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2452:6: note: previous definition is here void initializeStaticDataNLS285(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3312:6: error: redefinition of 'getIterationVarsNLS285' void getIterationVarsNLS285(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2465:6: note: previous definition is here void getIterationVarsNLS285(struct DATA *inData, double *array) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3321:6: error: redefinition of 'residualFunc282' void residualFunc282(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2340:6: note: previous definition is here void residualFunc282(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3361:6: error: redefinition of 'initializeSparsePatternNLS282' void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2380:6: note: previous definition is here void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3366:6: error: redefinition of 'initializeStaticDataNLS282' void initializeStaticDataNLS282(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2385:6: note: previous definition is here void initializeStaticDataNLS282(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_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o' failed make: *** [Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o] Error 1