Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 289.7 MB / 302.2 MB, free: 2.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 182.6 kB / 371.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001086, allocations: 92.03 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.09e-05, allocations: 7.984 kB / 0.8663 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3023, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8869/1.189, allocations: 169.2 MB / 1.145 GB, free: 22.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.189, allocations: 94.94 kB / 1.145 GB, free: 22.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1742/1.364, allocations: 72.29 MB / 1.216 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.353e-06/1.364, allocations: 0 / 1.216 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.088e-05/1.364, allocations: 40 kB / 1.216 GB, free: 15.47 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00381/1.368, allocations: 1.619 MB / 1.217 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.368, allocations: 8.031 kB / 1.217 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/1.371, allocations: 486.9 kB / 1.218 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/1.373, allocations: 1.293 MB / 1.219 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/1.373, allocations: 117.6 kB / 1.219 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/1.374, allocations: 153.2 kB / 1.219 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00508/1.379, allocations: 3.099 MB / 1.222 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/1.379, allocations: 7.938 kB / 1.222 GB, free: 9.883 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/1.379, allocations: 66.84 kB / 1.222 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007296/1.38, allocations: 176.6 kB / 1.223 GB, free: 9.703 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/1.384, allocations: 2.471 MB / 1.225 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02124/1.405, allocations: 14.86 MB / 1.24 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/1.407, allocations: 1.81 MB / 1.241 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/1.41, allocations: 1.527 MB / 1.243 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.668e-05/1.41, allocations: 16.98 kB / 1.243 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.41, allocations: 43.56 kB / 1.243 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=104): time 3.476e-06/1.41, allocations: 0 / 1.243 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of matching and sorting (n=183): time 0.1341/1.544, allocations: 29.23 MB / 1.271 GB, free: 7.047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/1.544, allocations: 73.41 kB / 1.271 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/1.546, allocations: 1.057 MB / 1.272 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004099/1.546, allocations: 57.7 kB / 1.273 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/1.547, allocations: 0.7719 MB / 1.273 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009544/1.548, allocations: 0.6277 MB / 1.274 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/1.548, allocations: 40 kB / 1.274 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001971/1.548, allocations: 381.9 kB / 1.274 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/1.552, allocations: 2.089 MB / 1.276 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003894/1.556, allocations: 2.424 MB / 1.279 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/1.56, allocations: 2.375 MB / 1.281 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/1.56, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01712/1.577, allocations: 8.269 MB / 1.289 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/1.577, allocations: 11.94 kB / 1.289 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/1.577, allocations: 12 kB / 1.289 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05301/1.63, allocations: 11.24 MB / 1.3 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.631, allocations: 247.6 kB / 1.3 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03456/1.666, allocations: 22.93 MB / 1.323 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/1.668, allocations: 123.8 kB / 1.323 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005291/1.669, allocations: 271.8 kB / 1.323 GB, free: 1.516 MB / 0.8855 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.0005063/1.669, allocations: 192.7 kB / 1.323 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/1.67, allocations: 142.3 kB / 1.323 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/1.685, allocations: 7.961 MB / 1.331 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/1.685, allocations: 20 kB / 1.331 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-05/1.685, allocations: 16 kB / 1.331 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/1.685, allocations: 11.95 kB / 1.331 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02713/1.712, allocations: 12.57 MB / 1.344 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/1.712, allocations: 4 kB / 1.344 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/1.713, allocations: 124.3 kB / 1.344 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05208/1.765, allocations: 10.92 MB / 1.354 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006623/1.766, allocations: 91.89 kB / 1.354 GB, free: 1.262 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5777/2.343, allocations: 19.15 MB / 1.373 GB, free: 233 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/2.343, allocations: 13.14 kB / 1.373 GB, free: 233 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/2.359, allocations: 7.519 MB / 1.38 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/2.361, allocations: 0.828 MB / 1.381 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/2.361, allocations: 37.11 kB / 1.381 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/2.362, allocations: 90.78 kB / 1.381 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006868/2.363, allocations: 188.9 kB / 1.382 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003797/2.363, allocations: 181.7 kB / 1.382 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001365/2.365, allocations: 0.8252 MB / 1.383 GB, free: 232.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.71e-07/2.365, allocations: 0 / 1.383 GB, free: 232.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002955/2.368, allocations: 0.7771 MB / 1.383 GB, free: 232.1 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 () * 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.0004076/2.368, allocations: 159.7 kB / 1.383 GB, free: 232 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01129/2.38, allocations: 5.916 MB / 1.389 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/2.38, allocations: 6.344 kB / 1.389 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.007766/2.387, allocations: 3.567 MB / 1.393 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/2.389, allocations: 195.2 kB / 1.393 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/2.395, allocations: 4.324 MB / 1.397 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/2.397, allocations: 1.829 MB / 1.399 GB, free: 229.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001127/2.398, allocations: 411.3 kB / 1.399 GB, free: 229.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/2.398, allocations: 115.2 kB / 1.399 GB, free: 229.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.242e-06/2.398, allocations: 0 / 1.399 GB, free: 229.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.07795/2.476, allocations: 60.47 MB / 1.458 GB, free: 227 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile make -j1 -f Buildings_8_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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.o Buildings_8_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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_functions.o Buildings_8_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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_records.o Buildings_8_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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_01exo.o Buildings_8_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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.c Buildings_8_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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS453' void initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_8_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_8_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_8_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_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.o] Error 1