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_RL_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_RL_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.01093/0.01093, allocations: 107.7 kB / 15.05 MB, free: 5.934 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.00123/0.00123, allocations: 177.9 kB / 15.94 MB, free: 5.898 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.048/2.048, allocations: 194.6 MB / 211.3 MB, free: 11.1 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.287/2.287, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000627/0.000627, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6923/0.693, allocations: 98.72 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3396/1.033, allocations: 153 MB / 0.8329 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/1.033, allocations: 95.94 kB / 0.8329 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.194/2.228, allocations: 139.4 MB / 0.9691 GB, free: 164.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.895e-06/2.228, allocations: 0 / 0.9691 GB, free: 164.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002982/2.228, allocations: 98.64 kB / 0.9692 GB, free: 164.7 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01428/2.242, allocations: 3.624 MB / 0.9727 GB, free: 162.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/2.242, allocations: 11.03 kB / 0.9727 GB, free: 162.8 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003056/2.245, allocations: 0.5753 MB / 0.9733 GB, free: 162.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/2.256, allocations: 1.04 MB / 0.9743 GB, free: 162.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008652/2.264, allocations: 2.614 MB / 0.9768 GB, free: 160.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/2.265, allocations: 281 kB / 0.9771 GB, free: 160.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/2.267, allocations: 354.6 kB / 0.9775 GB, free: 160.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/2.287, allocations: 6.692 MB / 0.984 GB, free: 156.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/2.287, allocations: 15.81 kB / 0.984 GB, free: 156.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/2.288, allocations: 163.8 kB / 0.9842 GB, free: 156.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/2.29, allocations: 381.2 kB / 0.9845 GB, free: 156.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/2.304, allocations: 4.871 MB / 0.9893 GB, free: 153.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05469/2.359, allocations: 32.13 MB / 1.021 GB, free: 123.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004902/2.364, allocations: 2.176 MB / 1.023 GB, free: 121.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/2.364, allocations: 20.27 kB / 1.023 GB, free: 121.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/2.364, allocations: 51.88 kB / 1.023 GB, free: 121.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=146): time 5.31e-06/2.364, allocations: 0 / 1.023 GB, free: 121.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=251): time 0.5564/2.921, allocations: 67.31 MB / 1.089 GB, free: 53.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/2.921, allocations: 77.41 kB / 1.089 GB, free: 53.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/2.924, allocations: 1.446 MB / 1.09 GB, free: 52.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008254/2.925, allocations: 69.7 kB / 1.09 GB, free: 52.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/2.926, allocations: 1.721 MB / 1.092 GB, free: 50.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/2.927, allocations: 0.8537 MB / 1.093 GB, free: 49.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005749/2.928, allocations: 52 kB / 1.093 GB, free: 49.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001684/2.928, allocations: 411.1 kB / 1.093 GB, free: 49.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006133/2.934, allocations: 2.792 MB / 1.096 GB, free: 46.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006831/2.941, allocations: 3.323 MB / 1.099 GB, free: 42.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007417/2.949, allocations: 3.113 MB / 1.102 GB, free: 39.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/2.949, allocations: 4 kB / 1.102 GB, free: 39.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.04065/2.989, allocations: 12.03 MB / 1.114 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/2.989, allocations: 21.14 kB / 1.114 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.1e-05/2.99, allocations: 16 kB / 1.114 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1277/3.117, allocations: 16.68 MB / 1.13 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/3.119, allocations: 279.5 kB / 1.13 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08959/3.209, allocations: 32.6 MB / 1.162 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004521/3.214, allocations: 171.6 kB / 1.162 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/3.215, allocations: 263.8 kB / 1.163 GB, free: 9.152 MB / 0.7605 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 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {19 19,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.005411/3.22, allocations: 1.584 MB / 1.164 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/3.221, allocations: 245.2 kB / 1.164 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04705/3.268, allocations: 12.15 MB / 1.176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/3.269, allocations: 24 kB / 1.176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.712e-05/3.269, allocations: 24 kB / 1.176 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.835e-05/3.269, allocations: 14.58 kB / 1.176 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06559/3.334, allocations: 18.19 MB / 1.194 GB, free: 8.711 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.899e-05/3.334, allocations: 4 kB / 1.194 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/3.336, allocations: 167.7 kB / 1.194 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1571/3.493, allocations: 16.47 MB / 1.21 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009688/3.494, allocations: 123.8 kB / 1.211 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6909/4.185, allocations: 32.23 MB / 1.242 GB, free: 225.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/4.185, allocations: 10 kB / 1.242 GB, free: 225.9 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0418/4.227, allocations: 12.25 MB / 1.254 GB, free: 224.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003446/4.23, allocations: 1.009 MB / 1.255 GB, free: 223.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/4.232, allocations: 47.38 kB / 1.255 GB, free: 223.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/4.235, allocations: 157.5 kB / 1.255 GB, free: 223.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001639/4.237, allocations: 271.2 kB / 1.255 GB, free: 223.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007272/4.238, allocations: 238.1 kB / 1.256 GB, free: 223.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002407/4.24, allocations: 1.116 MB / 1.257 GB, free: 223.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.31e-07/4.24, allocations: 0 / 1.257 GB, free: 223.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0061/4.246, allocations: 1.249 MB / 1.258 GB, free: 223.1 MB / 0.8073 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 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,19 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04864/4.295, allocations: 16.28 MB / 1.274 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.03217/4.327, allocations: 9.386 MB / 1.283 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/4.327, allocations: 0 / 1.283 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.02431/4.352, allocations: 6.071 MB / 1.289 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004292/4.356, allocations: 494 kB / 1.289 GB, free: 211.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09825/4.454, allocations: 46.3 MB / 1.335 GB, free: 176.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005204/4.459, allocations: 3.185 MB / 1.338 GB, free: 173.9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001879/4.461, allocations: 389.2 kB / 1.338 GB, free: 173.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/4.464, allocations: 1.463 MB / 1.34 GB, free: 172.2 MB / 0.8073 GB Notification: Performance of SimCode: time 1.703e-06/4.464, allocations: 4 kB / 1.34 GB, free: 172.2 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2375/4.702, allocations: 104.1 MB / 1.441 GB, free: 71.23 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/4.702, allocations: 243 kB / 1.441 GB, free: 70.93 MB / 0.8073 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_RL_N.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c:7: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_functions.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_records.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_01exo.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_02nls.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_02nls.c:528:6: error: redefinition of 'residualFunc730' void residualFunc730(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:10:6: note: previous definition is here void residualFunc730(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:568:6: error: redefinition of 'initializeSparsePatternNLS730' void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:50:6: note: previous definition is here void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:573:6: error: redefinition of 'initializeStaticDataNLS730' void initializeStaticDataNLS730(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:55:6: note: previous definition is here void initializeStaticDataNLS730(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:586:6: error: redefinition of 'getIterationVarsNLS730' void getIterationVarsNLS730(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:68:6: note: previous definition is here void getIterationVarsNLS730(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2206:6: error: redefinition of 'residualFunc652' void residualFunc652(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1359:6: note: previous definition is here void residualFunc652(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2246:6: error: redefinition of 'initializeSparsePatternNLS652' void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1399:6: note: previous definition is here void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2251:6: error: redefinition of 'initializeStaticDataNLS652' void initializeStaticDataNLS652(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1404:6: note: previous definition is here void initializeStaticDataNLS652(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2264:6: error: redefinition of 'getIterationVarsNLS652' void getIterationVarsNLS652(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1417:6: note: previous definition is here void getIterationVarsNLS652(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2273:6: error: redefinition of 'residualFunc649' void residualFunc649(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1292:6: note: previous definition is here void residualFunc649(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2313:6: error: redefinition of 'initializeSparsePatternNLS649' void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1332:6: note: previous definition is here void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2318:6: error: redefinition of 'initializeStaticDataNLS649' void initializeStaticDataNLS649(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1337:6: note: previous definition is here void initializeStaticDataNLS649(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2331:6: error: redefinition of 'getIterationVarsNLS649' void getIterationVarsNLS649(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1350:6: note: previous definition is here void getIterationVarsNLS649(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3254:6: error: redefinition of 'residualFunc285' void residualFunc285(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2407:6: note: previous definition is here void residualFunc285(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3294:6: error: redefinition of 'initializeSparsePatternNLS285' void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2447:6: note: previous definition is here void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3299:6: error: redefinition of 'initializeStaticDataNLS285' void initializeStaticDataNLS285(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2452:6: note: previous definition is here void initializeStaticDataNLS285(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3312:6: error: redefinition of 'getIterationVarsNLS285' void getIterationVarsNLS285(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2465:6: note: previous definition is here void getIterationVarsNLS285(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3321:6: error: redefinition of 'residualFunc282' void residualFunc282(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2340:6: note: previous definition is here void residualFunc282(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3361:6: error: redefinition of 'initializeSparsePatternNLS282' void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2380:6: note: previous definition is here void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3366:6: error: redefinition of 'initializeStaticDataNLS282' void initializeStaticDataNLS282(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2385:6: note: previous definition is here void initializeStaticDataNLS282(void *inData, threadData_t *threadData, void *inSystemData) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. : recipe for target 'Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o' failed make: *** [Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o] Error 1