Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.294/2.294, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.001121, allocations: 178.9 kB / 0.4902 GB, free: 2.258 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 99.95 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 8.438 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2464, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.4515, allocations: 180.7 MB / 1.406 GB, free: 4.844 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4518, allocations: 95.94 kB / 1.406 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7889/1.241, allocations: 77.12 MB / 1.481 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of FrontEnd: time 5.13e-06/1.241, allocations: 4 kB / 1.481 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002455/1.241, allocations: 32 kB / 1.481 GB, free: 165.2 MB / 0.9167 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.01006/1.251, allocations: 1.772 MB / 1.483 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/1.251, allocations: 8.562 kB / 1.483 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005506/1.257, allocations: 493.1 kB / 1.483 GB, free: 162.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/1.262, allocations: 1.286 MB / 1.485 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/1.262, allocations: 115 kB / 1.485 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/1.263, allocations: 148 kB / 1.485 GB, free: 161.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/1.274, allocations: 3.132 MB / 1.488 GB, free: 158 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-05/1.274, allocations: 7.906 kB / 1.488 GB, free: 158 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003311/1.274, allocations: 67.95 kB / 1.488 GB, free: 158 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009076/1.275, allocations: 186.9 kB / 1.488 GB, free: 157.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005723/1.281, allocations: 2.507 MB / 1.491 GB, free: 155.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03496/1.316, allocations: 14.85 MB / 1.505 GB, free: 139.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004582/1.32, allocations: 1.815 MB / 1.507 GB, free: 137.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/1.32, allocations: 20.92 kB / 1.507 GB, free: 137.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.321, allocations: 43.56 kB / 1.507 GB, free: 137.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=104): time 6.503e-06/1.321, allocations: 0 / 1.507 GB, free: 137.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=183): time 0.1311/1.452, allocations: 31.32 MB / 1.537 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.452, allocations: 69.41 kB / 1.538 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/1.454, allocations: 1.068 MB / 1.539 GB, free: 105 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004933/1.454, allocations: 53.7 kB / 1.539 GB, free: 105 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/1.455, allocations: 0.7797 MB / 1.539 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008201/1.455, allocations: 0.6199 MB / 1.54 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/1.456, allocations: 36 kB / 1.54 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.456, allocations: 397.8 kB / 1.54 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/1.459, allocations: 2.116 MB / 1.542 GB, free: 101 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/1.462, allocations: 2.45 MB / 1.545 GB, free: 98.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/1.465, allocations: 2.403 MB / 1.547 GB, free: 96.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/1.465, allocations: 4 kB / 1.547 GB, free: 96.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01529/1.48, allocations: 8.327 MB / 1.555 GB, free: 87.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/1.48, allocations: 15.95 kB / 1.555 GB, free: 87.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/1.48, allocations: 8 kB / 1.555 GB, free: 87.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04557/1.526, allocations: 11.27 MB / 1.566 GB, free: 76.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.527, allocations: 247.6 kB / 1.567 GB, free: 76.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03181/1.559, allocations: 23.92 MB / 1.59 GB, free: 51.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/1.561, allocations: 123.8 kB / 1.59 GB, free: 51.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008296/1.562, allocations: 263.8 kB / 1.59 GB, free: 51.51 MB / 0.9167 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.001915/1.564, allocations: 0.8018 MB / 1.591 GB, free: 50.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/1.564, allocations: 138.4 kB / 1.591 GB, free: 50.56 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.578, allocations: 8.011 MB / 1.599 GB, free: 42.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.578, allocations: 20 kB / 1.599 GB, free: 42.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.658e-05/1.578, allocations: 12 kB / 1.599 GB, free: 42.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/1.578, allocations: 7.969 kB / 1.599 GB, free: 42.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/1.599, allocations: 12.52 MB / 1.611 GB, free: 29.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/1.599, allocations: 4 kB / 1.611 GB, free: 29.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/1.599, allocations: 119.8 kB / 1.611 GB, free: 29.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04592/1.645, allocations: 10.96 MB / 1.622 GB, free: 18.72 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007221/1.646, allocations: 95.88 kB / 1.622 GB, free: 18.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02767/1.674, allocations: 19.96 MB / 1.642 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.674, allocations: 4 kB / 1.642 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.69, allocations: 7.577 MB / 1.649 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002568/1.693, allocations: 0.8386 MB / 1.65 GB, free: 5.719 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008169/1.694, allocations: 40 kB / 1.65 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.695, allocations: 87.88 kB / 1.65 GB, free: 5.594 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007685/1.696, allocations: 185.6 kB / 1.65 GB, free: 5.41 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004903/1.697, allocations: 179.9 kB / 1.65 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001897/1.699, allocations: 0.8436 MB / 1.651 GB, free: 4.379 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.71e-07/1.699, allocations: 4 kB / 1.651 GB, free: 4.375 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004524/1.703, allocations: 0.7697 MB / 1.652 GB, free: 3.605 MB / 0.9323 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.0006557/1.704, allocations: 155.7 kB / 1.652 GB, free: 3.445 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01207/1.716, allocations: 5.995 MB / 1.658 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.716, allocations: 0 / 1.658 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009512/1.726, allocations: 3.601 MB / 1.662 GB, free: 9.805 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.728, allocations: 202.7 kB / 1.662 GB, free: 9.609 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.74, allocations: 5.835 MB / 1.667 GB, free: 3.727 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003529/1.744, allocations: 1.834 MB / 1.669 GB, free: 1.859 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002412/1.746, allocations: 406.8 kB / 1.67 GB, free: 1.457 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/1.747, allocations: 119.3 kB / 1.67 GB, free: 1.34 MB / 0.948 GB Notification: Performance of SimCode: time 1.683e-06/1.747, allocations: 0 / 1.67 GB, free: 1.34 MB / 0.948 GB Notification: Performance of Templates: time 0.1334/1.881, allocations: 60.63 MB / 1.729 GB, free: 4.777 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile clang -Os -fPIC -falign-functions -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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.c clang -Os -fPIC -falign-functions -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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_functions.o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_functions.c clang -Os -fPIC -falign-functions -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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_records.o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_records.c clang -Os -fPIC -falign-functions -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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_01exo.o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_01exo.c clang -Os -fPIC -falign-functions -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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.o Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.c Buildings_latest_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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) ^ 8 errors generated. make: *** [: Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.o] Error 1