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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.01118/0.01118, allocations: 107.1 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.001241/0.00124, allocations: 185.5 kB / 15.95 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.025/2.025, 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.553/2.553, allocations: 236.1 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004913, allocations: 16 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6936/0.6941, allocations: 98.72 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2971/0.9913, allocations: 152.2 MB / 0.832 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/0.9917, allocations: 95.94 kB / 0.8321 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.179/2.171, allocations: 128.9 MB / 0.958 GB, free: 165.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.564e-06/2.171, allocations: 0 / 0.958 GB, free: 165.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000284/2.171, allocations: 83.94 kB / 0.9581 GB, free: 165.8 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01307/2.184, allocations: 3.14 MB / 0.9612 GB, free: 164.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/2.184, allocations: 7.75 kB / 0.9612 GB, free: 164.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002733/2.187, allocations: 0.5004 MB / 0.9617 GB, free: 164.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/2.197, allocations: 0.9813 MB / 0.9626 GB, free: 164.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007644/2.205, allocations: 2.254 MB / 0.9648 GB, free: 163.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/2.205, allocations: 242 kB / 0.9651 GB, free: 163.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001772/2.207, allocations: 322.5 kB / 0.9654 GB, free: 163.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/2.225, allocations: 5.68 MB / 0.9709 GB, free: 161 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/2.225, allocations: 11.31 kB / 0.9709 GB, free: 161 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/2.227, allocations: 142.5 kB / 0.9711 GB, free: 160.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009424/2.227, allocations: 324.7 kB / 0.9714 GB, free: 160.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/2.24, allocations: 4.079 MB / 0.9754 GB, free: 159.4 MB / 0.7292 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.04672/2.287, allocations: 29.13 MB / 1.004 GB, free: 135.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/2.291, allocations: 1.46 MB / 1.005 GB, free: 134.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/2.291, allocations: 13.47 kB / 1.005 GB, free: 134.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/2.291, allocations: 43.47 kB / 1.005 GB, free: 134.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 4.919e-06/2.291, allocations: 7.875 kB / 1.005 GB, free: 134.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=179): time 0.2832/2.574, allocations: 34.43 MB / 1.039 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/2.574, allocations: 77.36 kB / 1.039 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/2.578, allocations: 1.224 MB / 1.04 GB, free: 103.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007221/2.579, allocations: 53.7 kB / 1.04 GB, free: 103 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/2.58, allocations: 1.521 MB / 1.042 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/2.582, allocations: 0.6101 MB / 1.042 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005955/2.582, allocations: 40 kB / 1.042 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002253/2.583, allocations: 387.9 kB / 1.043 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006038/2.589, allocations: 1.815 MB / 1.044 GB, free: 98.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005471/2.594, allocations: 2.311 MB / 1.047 GB, free: 96.13 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/2.599, allocations: 2.083 MB / 1.049 GB, free: 94.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/2.599, allocations: 4 kB / 1.049 GB, free: 94.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02375/2.623, allocations: 7.43 MB / 1.056 GB, free: 86.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/2.623, allocations: 13.09 kB / 1.056 GB, free: 86.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/2.623, allocations: 12 kB / 1.056 GB, free: 86.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08053/2.704, allocations: 8.527 MB / 1.064 GB, free: 78.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/2.706, allocations: 291.5 kB / 1.065 GB, free: 77.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0512/2.757, allocations: 20.45 MB / 1.085 GB, free: 56.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/2.761, allocations: 143.7 kB / 1.085 GB, free: 56.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006019/2.761, allocations: 174.8 kB / 1.085 GB, free: 56.5 MB / 0.7292 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.003581/2.765, allocations: 1.332 MB / 1.086 GB, free: 55.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007456/2.766, allocations: 193.7 kB / 1.086 GB, free: 54.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02269/2.788, allocations: 7.387 MB / 1.094 GB, free: 47.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/2.788, allocations: 20 kB / 1.094 GB, free: 47.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/2.789, allocations: 12 kB / 1.094 GB, free: 47.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.55e-05/2.789, allocations: 7.969 kB / 1.094 GB, free: 47.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03734/2.826, allocations: 11.94 MB / 1.105 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.735e-05/2.826, allocations: 4 kB / 1.105 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/2.827, allocations: 171.7 kB / 1.106 GB, free: 35.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0659/2.893, allocations: 8.387 MB / 1.114 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007133/2.894, allocations: 83.86 kB / 1.114 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04421/2.938, allocations: 20.08 MB / 1.133 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/2.938, allocations: 11.94 kB / 1.133 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02276/2.961, allocations: 7.623 MB / 1.141 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/2.964, allocations: 0.7093 MB / 1.142 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008484/2.965, allocations: 36 kB / 1.142 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/2.968, allocations: 131.7 kB / 1.142 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/2.969, allocations: 180.9 kB / 1.142 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004811/2.969, allocations: 151.8 kB / 1.142 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002531/2.972, allocations: 0.9509 MB / 1.143 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.71e-07/2.972, allocations: 4 kB / 1.143 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005632/2.978, allocations: 0.9023 MB / 1.144 GB, free: 11.22 MB / 0.7448 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.04666/3.024, allocations: 10.84 MB / 1.154 GB, free: 148 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.05022/3.075, allocations: 5.867 MB / 1.16 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/3.075, allocations: 3.938 kB / 1.16 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.02165/3.096, allocations: 3.663 MB / 1.164 GB, free: 6.555 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/3.101, allocations: 467.6 kB / 1.164 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/3.213, allocations: 35.08 MB / 1.198 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009017/3.222, allocations: 2.743 MB / 1.201 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002936/3.225, allocations: 371.4 kB / 1.201 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004185/3.229, allocations: 1.222 MB / 1.203 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of SimCode: time 1.693e-06/3.229, allocations: 0 / 1.203 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8195/4.049, allocations: 75.86 MB / 1.277 GB, free: 221 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/4.049, allocations: 248.5 kB / 1.277 GB, free: 220.7 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.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c:7: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_functions.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_records.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_01exo.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_02nls.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_02nls.c:364:6: error: redefinition of 'residualFunc519' void residualFunc519(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:400:6: error: redefinition of 'initializeSparsePatternNLS519' void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:46:6: note: previous definition is here void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:418:6: error: redefinition of 'getIterationVarsNLS519' void getIterationVarsNLS519(struct DATA *inData, double *array) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1550:6: error: redefinition of 'initializeSparsePatternNLS465' void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:967:6: note: previous definition is here void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1568:6: error: redefinition of 'getIterationVarsNLS465' void getIterationVarsNLS465(struct DATA *inData, double *array) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1613:6: error: redefinition of 'initializeSparsePatternNLS461' void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:904:6: note: previous definition is here void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1631:6: error: redefinition of 'getIterationVarsNLS461' void getIterationVarsNLS461(struct DATA *inData, double *array) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2322:6: error: redefinition of 'initializeSparsePatternNLS212' void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1739:6: note: previous definition is here void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2340:6: error: redefinition of 'getIterationVarsNLS212' void getIterationVarsNLS212(struct DATA *inData, double *array) ^ Buildings_6_0_0_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_6_0_0_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_6_0_0_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_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2385:6: error: redefinition of 'initializeSparsePatternNLS208' void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1676:6: note: previous definition is here void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_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_6_0_0_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=] 2 warnings and 20 errors generated. : recipe for target 'Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o' failed make: *** [Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o] Error 1