Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.421/2.421, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001836/0.001835, allocations: 185 kB / 498.1 MB, free: 5.742 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.485/1.485, allocations: 223.2 MB / 0.7949 GB, free: 17.89 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.001011/0.001011, allocations: 106.3 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004706, allocations: 13.94 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3021, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.5087, allocations: 179.9 MB / 1.399 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.5091, allocations: 95.94 kB / 1.399 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.782/1.291, allocations: 77.13 MB / 1.474 GB, free: 175 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.415e-06/1.291, allocations: 0 / 1.474 GB, free: 175 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.152e-05/1.291, allocations: 39.84 kB / 1.474 GB, free: 175 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.003491/1.295, allocations: 1.755 MB / 1.476 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.295, allocations: 10.84 kB / 1.476 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/1.298, allocations: 496 kB / 1.476 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/1.3, allocations: 1.296 MB / 1.477 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/1.3, allocations: 113.2 kB / 1.478 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/1.3, allocations: 145.4 kB / 1.478 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004194/1.305, allocations: 3.13 MB / 1.481 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/1.305, allocations: 3.938 kB / 1.481 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/1.305, allocations: 64.44 kB / 1.481 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005163/1.305, allocations: 183 kB / 1.481 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/1.308, allocations: 2.503 MB / 1.483 GB, free: 167.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/1.326, allocations: 14.86 MB / 1.498 GB, free: 151.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/1.328, allocations: 1.818 MB / 1.5 GB, free: 149.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/1.328, allocations: 20.97 kB / 1.5 GB, free: 149.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/1.328, allocations: 43.56 kB / 1.5 GB, free: 149.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=104): time 3.346e-06/1.328, allocations: 0 / 1.5 GB, free: 149.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=183): time 0.1207/1.449, allocations: 31.31 MB / 1.53 GB, free: 118.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.449, allocations: 77.34 kB / 1.53 GB, free: 118 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/1.451, allocations: 1.068 MB / 1.531 GB, free: 116.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002872/1.451, allocations: 53.7 kB / 1.532 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/1.452, allocations: 0.7836 MB / 1.532 GB, free: 116 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006367/1.452, allocations: 0.616 MB / 1.533 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.453, allocations: 36 kB / 1.533 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.453, allocations: 385.9 kB / 1.533 GB, free: 115 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/1.455, allocations: 2.12 MB / 1.535 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/1.458, allocations: 2.45 MB / 1.538 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/1.461, allocations: 2.4 MB / 1.54 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/1.461, allocations: 0 / 1.54 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01433/1.475, allocations: 8.33 MB / 1.548 GB, free: 99.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/1.475, allocations: 11.95 kB / 1.548 GB, free: 99.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/1.475, allocations: 12 kB / 1.548 GB, free: 99.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04651/1.522, allocations: 11.25 MB / 1.559 GB, free: 88.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.523, allocations: 251.5 kB / 1.559 GB, free: 88.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02848/1.552, allocations: 23.92 MB / 1.583 GB, free: 63.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/1.554, allocations: 119.8 kB / 1.583 GB, free: 63.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006273/1.554, allocations: 275.7 kB / 1.583 GB, free: 63.37 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.00169/1.556, allocations: 0.8056 MB / 1.584 GB, free: 62.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004747/1.557, allocations: 142.3 kB / 1.584 GB, free: 62.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.57, allocations: 8.008 MB / 1.592 GB, free: 54.37 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/1.57, allocations: 16 kB / 1.592 GB, free: 54.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.391e-05/1.57, allocations: 20 kB / 1.592 GB, free: 54.34 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/1.57, allocations: 7.969 kB / 1.592 GB, free: 54.33 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01996/1.59, allocations: 12.52 MB / 1.604 GB, free: 41.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/1.59, allocations: 4 kB / 1.604 GB, free: 41.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/1.591, allocations: 119.8 kB / 1.604 GB, free: 41.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04521/1.636, allocations: 10.95 MB / 1.615 GB, free: 30.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006579/1.637, allocations: 87.89 kB / 1.615 GB, free: 30.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02622/1.663, allocations: 19.98 MB / 1.635 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.663, allocations: 7.938 kB / 1.635 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.676, allocations: 7.584 MB / 1.642 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/1.678, allocations: 0.8386 MB / 1.643 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/1.679, allocations: 32 kB / 1.643 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.68, allocations: 87.94 kB / 1.643 GB, free: 1.449 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005482/1.681, allocations: 189.6 kB / 1.643 GB, free: 1.262 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002964/1.681, allocations: 179.9 kB / 1.643 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001145/1.682, allocations: 0.8397 MB / 1.644 GB, free: 240 kB / 0.9167 GB Notification: Performance of sort global known variables: time 1.61e-07/1.682, allocations: 3.938 kB / 1.644 GB, free: 236 kB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003453/1.686, allocations: 0.7776 MB / 1.645 GB, free: 15.45 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.0004331/1.686, allocations: 155 kB / 1.645 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.697, allocations: 6.002 MB / 1.651 GB, free: 9.27 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.697, allocations: 0 / 1.651 GB, free: 9.27 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008106/1.705, allocations: 3.592 MB / 1.654 GB, free: 5.648 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.707, allocations: 196 kB / 1.655 GB, free: 5.453 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008599/1.716, allocations: 5.841 MB / 1.66 GB, free: 15.58 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.717, allocations: 1.823 MB / 1.662 GB, free: 13.72 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001223/1.718, allocations: 410.9 kB / 1.663 GB, free: 13.31 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/1.719, allocations: 115.3 kB / 1.663 GB, free: 13.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.21e-07/1.719, allocations: 4 kB / 1.663 GB, free: 13.2 MB / 0.948 GB Notification: Performance of Templates: time 0.09027/1.809, allocations: 60.63 MB / 1.722 GB, free: 0.6055 MB / 0.9948 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.o Buildings_9_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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_functions.o Buildings_9_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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_records.o Buildings_9_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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_01exo.o Buildings_9_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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.o Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.c Buildings_9_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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_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_9_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_9_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_9_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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_02nls.o] Error 1