Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.00162/0.00162, allocations: 185.1 kB / 377.1 MB, free: 1.516 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.894/1.894, allocations: 205.4 MB / 0.6367 GB, free: 9.477 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.001099/0.001099, allocations: 93.61 kB / 0.751 GB, free: 62.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 12 kB / 0.8748 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2808, allocations: 116.3 MB / 0.9884 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6958/0.9766, allocations: 168 MB / 1.152 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004059/0.9771, allocations: 96.83 kB / 1.152 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1761/1.153, allocations: 69.22 MB / 1.22 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.364e-06/1.153, allocations: 0 / 1.22 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.714e-05/1.153, allocations: 32 kB / 1.22 GB, free: 8.793 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003615/1.157, allocations: 1.618 MB / 1.222 GB, free: 7.121 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.157, allocations: 20 kB / 1.222 GB, free: 7.102 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/1.16, allocations: 471.4 kB / 1.222 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/1.163, allocations: 1.149 MB / 1.223 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/1.163, allocations: 116.1 kB / 1.223 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/1.163, allocations: 140 kB / 1.224 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00477/1.168, allocations: 2.779 MB / 1.226 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/1.168, allocations: 13.56 kB / 1.226 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/1.168, allocations: 59.98 kB / 1.226 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004388/1.169, allocations: 154.9 kB / 1.226 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/1.172, allocations: 2.209 MB / 1.229 GB, free: 15.86 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01931/1.192, allocations: 14.14 MB / 1.242 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/1.194, allocations: 1.338 MB / 1.244 GB, free: 15.26 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/1.194, allocations: 12.56 kB / 1.244 GB, free: 15.25 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.194, allocations: 51.09 kB / 1.244 GB, free: 15.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/1.194, allocations: 0 / 1.244 GB, free: 15.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=139): time 0.06825/1.262, allocations: 17.74 MB / 1.261 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.262, allocations: 68.72 kB / 1.261 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/1.264, allocations: 0.9604 MB / 1.262 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002475/1.264, allocations: 49.7 kB / 1.262 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/1.265, allocations: 0.7243 MB / 1.263 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005917/1.265, allocations: 489 kB / 1.263 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/1.265, allocations: 28 kB / 1.263 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002325/1.266, allocations: 414.7 kB / 1.264 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/1.268, allocations: 1.476 MB / 1.265 GB, free: 9.125 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/1.27, allocations: 1.775 MB / 1.267 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/1.273, allocations: 1.697 MB / 1.269 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.273, allocations: 0 / 1.269 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01064/1.284, allocations: 5.434 MB / 1.274 GB, free: 96 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.284, allocations: 8 kB / 1.274 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/1.284, allocations: 16.02 kB / 1.274 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02708/1.311, allocations: 5.886 MB / 1.28 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.312, allocations: 219.6 kB / 1.28 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/1.335, allocations: 15.81 MB / 1.295 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/1.337, allocations: 95.98 kB / 1.295 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006531/1.338, allocations: 163.9 kB / 1.296 GB, free: 9.551 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (96): * Single equations (assignments): 92 * 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 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of prepare postOptimizeDAE: time 0.001971/1.34, allocations: 0.7276 MB / 1.296 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/1.34, allocations: 118.6 kB / 1.296 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009554/1.35, allocations: 5.019 MB / 1.301 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.35, allocations: 12 kB / 1.301 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.07e-05/1.35, allocations: 12 kB / 1.301 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.35, allocations: 7.969 kB / 1.301 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/1.365, allocations: 8.416 MB / 1.31 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.365, allocations: 4 kB / 1.31 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/1.366, allocations: 119.7 kB / 1.31 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02511/1.391, allocations: 5.678 MB / 1.315 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004727/1.391, allocations: 55.94 kB / 1.315 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02206/1.414, allocations: 13.26 MB / 1.328 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/1.414, allocations: 7.984 kB / 1.328 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009696/1.423, allocations: 4.88 MB / 1.333 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/1.425, allocations: 0.5971 MB / 1.334 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005392/1.426, allocations: 28 kB / 1.334 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.427, allocations: 80.41 kB / 1.334 GB, free: 1.84 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004607/1.427, allocations: 136.9 kB / 1.334 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.428, allocations: 111.9 kB / 1.334 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001222/1.429, allocations: 0.7371 MB / 1.335 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.61e-07/1.429, allocations: 3.938 kB / 1.335 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002567/1.431, allocations: 0.5937 MB / 1.335 GB, free: 272 kB / 0.9011 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 (62): * Single equations (assignments): 58 * 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 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.000454/1.432, allocations: 155 kB / 1.335 GB, free: 104 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007888/1.44, allocations: 4.119 MB / 1.339 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.44, allocations: 0 / 1.339 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005467/1.445, allocations: 2.433 MB / 1.342 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.447, allocations: 184.8 kB / 1.342 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007771/1.455, allocations: 4.669 MB / 1.346 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/1.456, allocations: 1.696 MB / 1.348 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00114/1.457, allocations: 412.9 kB / 1.349 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/1.458, allocations: 71.41 kB / 1.349 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of SimCode: time 1.383e-06/1.458, allocations: 0 / 1.349 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of Templates: time 0.5498/2.008, allocations: 38.05 MB / 1.386 GB, free: 231 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 -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.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 -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_functions.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 -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_records.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 -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_01exo.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 -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_02nls.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:1119:6: error: redefinition of 'residualFunc343' void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:451:6: note: previous definition is here void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:487:6: note: previous definition is here void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:1160:6: error: redefinition of 'initializeStaticDataNLS343' void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:492:6: note: previous definition is here void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:1173:6: error: redefinition of 'getIterationVarsNLS343' void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:505:6: note: previous definition is here void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:2291:6: error: redefinition of 'residualFunc63' void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:1623:6: note: previous definition is here void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:1659:6: note: previous definition is here void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:2332:6: error: redefinition of 'initializeStaticDataNLS63' void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:1664:6: note: previous definition is here void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:2345:6: error: redefinition of 'getIterationVarsNLS63' void getIterationVarsNLS63(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.c:1677:6: note: previous definition is here void getIterationVarsNLS63(struct DATA *inData, double *array) ^ 8 errors generated. make: *** [: Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_02nls.o] Error 1