Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.6 MB / 307.6 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: 181 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.961/1.961, allocations: 205.4 MB / 0.6367 GB, free: 8.602 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.0007936/0.0007935, allocations: 92.58 kB / 0.751 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 12 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3273, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7433/1.071, allocations: 166.7 MB / 1.151 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.071, allocations: 97.39 kB / 1.151 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.3839/1.455, allocations: 152 MB / 1.3 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.947e-06/1.455, allocations: 0 / 1.3 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003776/1.455, allocations: 83.98 kB / 1.3 GB, free: 6.156 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.0124/1.468, allocations: 3.14 MB / 1.303 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.468, allocations: 16.02 kB / 1.303 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00741/1.475, allocations: 0.9749 MB / 1.304 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007558/1.483, allocations: 2.279 MB / 1.306 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/1.483, allocations: 238.4 kB / 1.306 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/1.485, allocations: 311.9 kB / 1.307 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/1.5, allocations: 5.673 MB / 1.312 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/1.5, allocations: 19.86 kB / 1.312 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001174/1.502, allocations: 143.9 kB / 1.312 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007367/1.502, allocations: 322.3 kB / 1.313 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009967/1.512, allocations: 4.079 MB / 1.317 GB, free: 4.512 MB / 0.8855 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.04561/1.558, allocations: 29.13 MB / 1.345 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/1.561, allocations: 1.455 MB / 1.346 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/1.561, allocations: 24.91 kB / 1.346 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/1.561, allocations: 55.5 kB / 1.346 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 4.458e-06/1.561, allocations: 0 / 1.346 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of matching and sorting (n=179): time 0.73/2.291, allocations: 34.41 MB / 1.38 GB, free: 192 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/2.291, allocations: 76.45 kB / 1.38 GB, free: 191.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/2.294, allocations: 1.229 MB / 1.381 GB, free: 191.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005321/2.295, allocations: 56.64 kB / 1.381 GB, free: 191.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/2.296, allocations: 1.519 MB / 1.383 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009613/2.297, allocations: 0.606 MB / 1.383 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/2.297, allocations: 38.97 kB / 1.384 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001854/2.297, allocations: 383.4 kB / 1.384 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003182/2.301, allocations: 1.814 MB / 1.386 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/2.304, allocations: 2.314 MB / 1.388 GB, free: 190 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/2.306, allocations: 2.073 MB / 1.39 GB, free: 190 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/2.306, allocations: 6 kB / 1.39 GB, free: 190 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01292/2.319, allocations: 7.437 MB / 1.397 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/2.319, allocations: 9.844 kB / 1.397 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/2.319, allocations: 15.78 kB / 1.397 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03294/2.352, allocations: 8.525 MB / 1.406 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/2.353, allocations: 290.7 kB / 1.406 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0267/2.38, allocations: 20.45 MB / 1.426 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/2.383, allocations: 145.2 kB / 1.426 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005341/2.384, allocations: 175.4 kB / 1.426 GB, free: 184.1 MB / 0.9323 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 () * Number of clocked 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 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {10 14,6 12,5 7} Notification: Performance of prepare postOptimizeDAE: time 0.004027/2.388, allocations: 1.324 MB / 1.427 GB, free: 184 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009278/2.388, allocations: 196.3 kB / 1.428 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/2.403, allocations: 7.381 MB / 1.435 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/2.403, allocations: 17.12 kB / 1.435 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-05/2.403, allocations: 13.94 kB / 1.435 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/2.403, allocations: 14.2 kB / 1.435 GB, free: 183.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0271/2.43, allocations: 11.93 MB / 1.446 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-05/2.43, allocations: 5.328 kB / 1.446 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008959/2.431, allocations: 174.5 kB / 1.447 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0339/2.465, allocations: 8.386 MB / 1.455 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004828/2.466, allocations: 77.33 kB / 1.455 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03128/2.497, allocations: 20.09 MB / 1.475 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/2.497, allocations: 10.22 kB / 1.475 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/2.513, allocations: 7.62 MB / 1.482 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/2.516, allocations: 0.714 MB / 1.483 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/2.517, allocations: 37.91 kB / 1.483 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/2.519, allocations: 129.5 kB / 1.483 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008063/2.52, allocations: 181.7 kB / 1.483 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004287/2.52, allocations: 148.8 kB / 1.483 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002433/2.523, allocations: 0.9516 MB / 1.484 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.32e-07/2.523, allocations: 0 / 1.484 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005691/2.528, allocations: 0.9179 MB / 1.485 GB, free: 167.4 MB / 0.9323 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 () * Number of clocked 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 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {5 7,6 12,10 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006876/2.529, allocations: 175.3 kB / 1.485 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01345/2.543, allocations: 5.873 MB / 1.491 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/2.543, allocations: 0.5625 kB / 1.491 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008677/2.551, allocations: 3.652 MB / 1.494 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/2.555, allocations: 480.4 kB / 1.495 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/2.571, allocations: 8.271 MB / 1.503 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004028/2.575, allocations: 2.741 MB / 1.506 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001438/2.577, allocations: 379.5 kB / 1.506 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/2.577, allocations: 95.25 kB / 1.506 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.082e-06/2.577, allocations: 0 / 1.506 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.08759/2.665, allocations: 52.66 MB / 1.558 GB, free: 154.5 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_functions.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_records.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_01exo.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.o Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:364:6: error: redefinition of 'residualFunc519' void residualFunc519(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:10:6: note: previous definition is here void residualFunc519(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:400:6: error: redefinition of 'initializeSparsePatternNLS519' void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:46:6: note: previous definition is here void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:405:6: error: redefinition of 'initializeStaticDataNLS519' void initializeStaticDataNLS519(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:51:6: note: previous definition is here void initializeStaticDataNLS519(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:418:6: error: redefinition of 'getIterationVarsNLS519' void getIterationVarsNLS519(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:64:6: note: previous definition is here void getIterationVarsNLS519(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1514:6: error: redefinition of 'residualFunc465' void residualFunc465(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:931:6: note: previous definition is here void residualFunc465(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1550:6: error: redefinition of 'initializeSparsePatternNLS465' void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:967:6: note: previous definition is here void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1555:6: error: redefinition of 'initializeStaticDataNLS465' void initializeStaticDataNLS465(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:972:6: note: previous definition is here void initializeStaticDataNLS465(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1568:6: error: redefinition of 'getIterationVarsNLS465' void getIterationVarsNLS465(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:985:6: note: previous definition is here void getIterationVarsNLS465(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1577:6: error: redefinition of 'residualFunc461' void residualFunc461(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:868:6: note: previous definition is here void residualFunc461(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1613:6: error: redefinition of 'initializeSparsePatternNLS461' void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:904:6: note: previous definition is here void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1618:6: error: redefinition of 'initializeStaticDataNLS461' void initializeStaticDataNLS461(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:909:6: note: previous definition is here void initializeStaticDataNLS461(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1631:6: error: redefinition of 'getIterationVarsNLS461' void getIterationVarsNLS461(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:922:6: note: previous definition is here void getIterationVarsNLS461(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:2286:6: error: redefinition of 'residualFunc212' void residualFunc212(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1703:6: note: previous definition is here void residualFunc212(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:2322:6: error: redefinition of 'initializeSparsePatternNLS212' void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1739:6: note: previous definition is here void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:2327:6: error: redefinition of 'initializeStaticDataNLS212' void initializeStaticDataNLS212(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1744:6: note: previous definition is here void initializeStaticDataNLS212(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:2340:6: error: redefinition of 'getIterationVarsNLS212' void getIterationVarsNLS212(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1757:6: note: previous definition is here void getIterationVarsNLS212(struct DATA *inData, double *array) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:2349:6: error: redefinition of 'residualFunc208' void residualFunc208(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1640:6: note: previous definition is here void residualFunc208(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:2385:6: error: redefinition of 'initializeSparsePatternNLS208' void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1676:6: note: previous definition is here void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:2390:6: error: redefinition of 'initializeStaticDataNLS208' void initializeStaticDataNLS208(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.c:1681:6: note: previous definition is here void initializeStaticDataNLS208(void *inData, threadData_t *threadData, void *inSystemData) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_02nls.o] Error 1