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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.01129/0.01129, 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.001332/0.001331, allocations: 185.4 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 1.995/1.995, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.271/2.271, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005406/0.0005408, allocations: 16 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6867, allocations: 98.72 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2917/0.9785, allocations: 153.4 MB / 0.8333 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/0.9789, allocations: 95.94 kB / 0.8334 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.252/1.231, allocations: 60.64 MB / 0.8926 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.836e-06/1.231, allocations: 0 / 0.8926 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001113/1.231, allocations: 36 kB / 0.8926 GB, free: 7.211 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00548/1.237, allocations: 1.616 MB / 0.8942 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.237, allocations: 12.03 kB / 0.8942 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001007/1.238, allocations: 252.5 kB / 0.8945 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004635/1.242, allocations: 477.3 kB / 0.8949 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/1.246, allocations: 1.134 MB / 0.896 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/1.246, allocations: 110.9 kB / 0.8961 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005135/1.247, allocations: 144 kB / 0.8963 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007769/1.254, allocations: 2.783 MB / 0.899 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/1.254, allocations: 0 / 0.899 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/1.255, allocations: 67.97 kB / 0.8991 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007822/1.256, allocations: 158.8 kB / 0.8992 GB, free: 248 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006987/1.263, allocations: 2.202 MB / 0.9014 GB, free: 14.03 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.5699/1.833, allocations: 14.14 MB / 0.9152 GB, free: 174.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/1.837, allocations: 1.341 MB / 0.9165 GB, free: 174.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/1.837, allocations: 16.27 kB / 0.9165 GB, free: 174.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/1.837, allocations: 43.73 kB / 0.9165 GB, free: 174.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 3.777e-06/1.837, allocations: 0 / 0.9165 GB, free: 174.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139): time 0.1469/1.984, allocations: 17.74 MB / 0.9338 GB, free: 173.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/1.984, allocations: 65.47 kB / 0.9339 GB, free: 173.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/1.986, allocations: 0.9553 MB / 0.9348 GB, free: 173.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004419/1.987, allocations: 48.55 kB / 0.9349 GB, free: 173.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006103/1.987, allocations: 0.7184 MB / 0.9356 GB, free: 173.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008169/1.988, allocations: 493.8 kB / 0.9361 GB, free: 173.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/1.989, allocations: 32.14 kB / 0.9361 GB, free: 173.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002892/1.989, allocations: 421.6 kB / 0.9365 GB, free: 172.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004009/1.993, allocations: 1.475 MB / 0.9379 GB, free: 172.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00437/1.997, allocations: 1.767 MB / 0.9397 GB, free: 172.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/2.002, allocations: 1.7 MB / 0.9413 GB, free: 172.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/2.002, allocations: 3.031 kB / 0.9413 GB, free: 172.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01774/2.02, allocations: 5.436 MB / 0.9466 GB, free: 172 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/2.02, allocations: 14.25 kB / 0.9466 GB, free: 172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/2.02, allocations: 7.75 kB / 0.9467 GB, free: 172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04908/2.069, allocations: 5.887 MB / 0.9524 GB, free: 171.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/2.07, allocations: 219.9 kB / 0.9526 GB, free: 171.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03459/2.105, allocations: 15.82 MB / 0.9681 GB, free: 163.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/2.108, allocations: 92.81 kB / 0.9681 GB, free: 163.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006279/2.108, allocations: 165.5 kB / 0.9683 GB, free: 163.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (96): * Single equations (assignments): 92 * 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 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of prepare postOptimizeDAE: time 0.002042/2.111, allocations: 0.7348 MB / 0.969 GB, free: 162.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005442/2.111, allocations: 112.7 kB / 0.9691 GB, free: 162.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/2.126, allocations: 5.02 MB / 0.974 GB, free: 161 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/2.126, allocations: 17.33 kB / 0.974 GB, free: 161 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/2.127, allocations: 13.48 kB / 0.9741 GB, free: 161 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-05/2.127, allocations: 7.547 kB / 0.9741 GB, free: 161 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/2.151, allocations: 8.407 MB / 0.9823 GB, free: 158 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/2.151, allocations: 3.938 kB / 0.9823 GB, free: 158 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/2.152, allocations: 117.2 kB / 0.9824 GB, free: 158 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04748/2.199, allocations: 5.677 MB / 0.9879 GB, free: 155 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003862/2.2, allocations: 55.94 kB / 0.988 GB, free: 154.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02848/2.228, allocations: 13.27 MB / 1.001 GB, free: 141.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/2.228, allocations: 10.33 kB / 1.001 GB, free: 141.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/2.242, allocations: 4.878 MB / 1.006 GB, free: 136.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/2.244, allocations: 0.6009 MB / 1.006 GB, free: 135.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005509/2.244, allocations: 43.52 kB / 1.006 GB, free: 135.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/2.246, allocations: 67.94 kB / 1.006 GB, free: 135.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006071/2.247, allocations: 132.3 kB / 1.007 GB, free: 135.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003036/2.247, allocations: 111.9 kB / 1.007 GB, free: 135.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001473/2.249, allocations: 0.7371 MB / 1.007 GB, free: 134.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.8e-07/2.249, allocations: 4 kB / 1.007 GB, free: 134.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004276/2.253, allocations: 0.5845 MB / 1.008 GB, free: 134.1 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 (62): * Single equations (assignments): 58 * 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 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01972/2.273, allocations: 6.605 MB / 1.014 GB, free: 127.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01564/2.288, allocations: 4.122 MB / 1.018 GB, free: 123.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/2.29, allocations: 3.062 kB / 1.018 GB, free: 123.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0121/2.303, allocations: 2.441 MB / 1.021 GB, free: 120.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/2.305, allocations: 186.7 kB / 1.021 GB, free: 120.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04314/2.348, allocations: 19.95 MB / 1.04 GB, free: 100.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/2.35, allocations: 1.7 MB / 1.042 GB, free: 98.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001677/2.351, allocations: 415.7 kB / 1.043 GB, free: 98.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/2.353, allocations: 0.5461 MB / 1.043 GB, free: 97.6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/2.353, allocations: 0 / 1.043 GB, free: 97.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/2.461, allocations: 50.98 MB / 1.093 GB, free: 47.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/2.461, allocations: 245.7 kB / 1.093 GB, free: 47.14 MB / 0.7292 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.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c:7: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_functions.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_records.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_01exo.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_02nls.o Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c In file included from Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2: In file included from ./Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_02nls.c:1119:6: error: redefinition of 'residualFunc343' void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:451:6: note: previous definition is here void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:487:6: note: previous definition is here void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1160:6: error: redefinition of 'initializeStaticDataNLS343' void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:492:6: note: previous definition is here void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1173:6: error: redefinition of 'getIterationVarsNLS343' void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:505:6: note: previous definition is here void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2291:6: error: redefinition of 'residualFunc63' void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1623:6: note: previous definition is here void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1659:6: note: previous definition is here void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2332:6: error: redefinition of 'initializeStaticDataNLS63' void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1664:6: note: previous definition is here void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2345:6: error: redefinition of 'getIterationVarsNLS63' void getIterationVarsNLS63(struct DATA *inData, double *array) ^ Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1677:6: note: previous definition is here void getIterationVarsNLS63(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_02nls.o' failed make: *** [Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o] Error 1