Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0109/0.0109, allocations: 106.2 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001176/0.001176, allocations: 183.8 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.002/2.002, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.278/2.278, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.000485, allocations: 12 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6537, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.9481, allocations: 154.8 MB / 0.8346 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004679/0.9487, allocations: 99.92 kB / 0.8347 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.278/1.227, allocations: 62.74 MB / 0.8959 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.425e-06/1.227, allocations: 0 / 0.8959 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001446/1.227, allocations: 36 kB / 0.896 GB, free: 3.824 MB / 0.7136 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.007519/1.234, allocations: 1.76 MB / 0.8977 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.234, allocations: 8.031 kB / 0.8977 GB, free: 2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001218/1.236, allocations: 269 kB / 0.898 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/1.241, allocations: 493.1 kB / 0.8984 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/1.245, allocations: 1.286 MB / 0.8997 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/1.245, allocations: 114.9 kB / 0.8998 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008316/1.246, allocations: 152 kB / 0.8999 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00948/1.256, allocations: 3.12 MB / 0.903 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.51e-05/1.256, allocations: 11.94 kB / 0.903 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003863/1.256, allocations: 63.97 kB / 0.9031 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001183/1.257, allocations: 183 kB / 0.9032 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/1.265, allocations: 2.503 MB / 0.9057 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6401/1.905, allocations: 14.85 MB / 0.9202 GB, free: 171.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005269/1.911, allocations: 1.815 MB / 0.922 GB, free: 171.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/1.911, allocations: 24.23 kB / 0.922 GB, free: 171.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/1.911, allocations: 43.69 kB / 0.922 GB, free: 171.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=104): time 5.12e-06/1.911, allocations: 3 kB / 0.922 GB, free: 171.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=183): time 0.339/2.25, allocations: 31.31 MB / 0.9526 GB, free: 170.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/2.25, allocations: 74.88 kB / 0.9527 GB, free: 170.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/2.252, allocations: 1.072 MB / 0.9537 GB, free: 170 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005499/2.253, allocations: 54.86 kB / 0.9538 GB, free: 169.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/2.253, allocations: 0.7798 MB / 0.9545 GB, free: 169.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009049/2.254, allocations: 0.6242 MB / 0.9551 GB, free: 169.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005077/2.255, allocations: 35.5 kB / 0.9552 GB, free: 169.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001473/2.255, allocations: 385.9 kB / 0.9555 GB, free: 169 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004679/2.26, allocations: 2.119 MB / 0.9576 GB, free: 168.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005335/2.265, allocations: 2.456 MB / 0.96 GB, free: 167.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005547/2.271, allocations: 2.401 MB / 0.9624 GB, free: 167 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/2.271, allocations: 3.625 kB / 0.9624 GB, free: 167 MB / 0.7292 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.0279/2.298, allocations: 8.325 MB / 0.9705 GB, free: 164.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/2.299, allocations: 12.62 kB / 0.9705 GB, free: 164.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/2.299, allocations: 11.62 kB / 0.9705 GB, free: 164.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09506/2.394, allocations: 11.26 MB / 0.9815 GB, free: 163.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/2.396, allocations: 252.6 kB / 0.9817 GB, free: 162.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05445/2.45, allocations: 23.92 MB / 1.005 GB, free: 139.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/2.454, allocations: 123.8 kB / 1.005 GB, free: 139.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006447/2.454, allocations: 267.8 kB / 1.005 GB, free: 139 MB / 0.7292 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.001962/2.456, allocations: 0.8061 MB / 1.006 GB, free: 138.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006534/2.457, allocations: 134.4 kB / 1.006 GB, free: 138 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02583/2.483, allocations: 8.017 MB / 1.014 GB, free: 130.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/2.483, allocations: 16 kB / 1.014 GB, free: 130 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.836e-05/2.483, allocations: 16 kB / 1.014 GB, free: 130 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.505e-05/2.483, allocations: 11.92 kB / 1.014 GB, free: 130 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03699/2.52, allocations: 12.51 MB / 1.026 GB, free: 117.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/2.52, allocations: 4.75 kB / 1.026 GB, free: 117.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/2.521, allocations: 123.4 kB / 1.027 GB, free: 117.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1008/2.622, allocations: 10.96 MB / 1.037 GB, free: 106.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008474/2.623, allocations: 98.91 kB / 1.037 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06385/2.687, allocations: 19.97 MB / 1.057 GB, free: 86.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/2.687, allocations: 4 kB / 1.057 GB, free: 86.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02464/2.711, allocations: 7.577 MB / 1.064 GB, free: 78.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002587/2.714, allocations: 0.8384 MB / 1.065 GB, free: 77.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007931/2.715, allocations: 39.09 kB / 1.065 GB, free: 77.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/2.717, allocations: 91.92 kB / 1.065 GB, free: 77.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009773/2.719, allocations: 181.7 kB / 1.065 GB, free: 77.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004759/2.719, allocations: 187.8 kB / 1.066 GB, free: 76.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001727/2.721, allocations: 0.8358 MB / 1.066 GB, free: 76.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.01e-07/2.721, allocations: 0 / 1.066 GB, free: 76.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003807/2.725, allocations: 0.7656 MB / 1.067 GB, free: 75.34 MB / 0.7292 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.02509/2.75, allocations: 9.41 MB / 1.076 GB, free: 65.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01725/2.767, allocations: 5.995 MB / 1.082 GB, free: 59.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/2.767, allocations: 4 kB / 1.082 GB, free: 59.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01383/2.781, allocations: 3.603 MB / 1.086 GB, free: 56.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/2.783, allocations: 201.1 kB / 1.086 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05389/2.837, allocations: 26.55 MB / 1.112 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/2.839, allocations: 1.827 MB / 1.114 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001822/2.841, allocations: 409.4 kB / 1.114 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/2.843, allocations: 0.6632 MB / 1.115 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/2.843, allocations: 4 kB / 1.115 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.18/3.023, allocations: 76 MB / 1.189 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003787/3.023, allocations: 247.9 kB / 1.189 GB, free: 14.39 MB / 0.7917 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_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) ^ 2 warnings and 8 errors generated. : recipe for target 'Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o' failed make: *** [Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1