Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.71/2.71, allocations: 287.3 MB / 302.3 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002651/0.00265, allocations: 170.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 92.48 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007526/0.0007528, allocations: 12.19 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2207, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.256, allocations: 165.4 MB / 1.14 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/1.256, allocations: 94.88 kB / 1.14 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5374/1.794, allocations: 129 MB / 1.266 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.256e-06/1.794, allocations: 4 kB / 1.266 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003298/1.794, allocations: 83.98 kB / 1.266 GB, free: 12.43 MB / 0.7917 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.01339/1.807, allocations: 3.143 MB / 1.269 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/1.807, allocations: 8.031 kB / 1.269 GB, free: 9.219 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002591/1.81, allocations: 0.5013 MB / 1.27 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/1.82, allocations: 0.9826 MB / 1.27 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007953/1.828, allocations: 2.26 MB / 1.273 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/1.829, allocations: 242.4 kB / 1.273 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/1.83, allocations: 312 kB / 1.273 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0186/1.849, allocations: 5.671 MB / 1.279 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001762/1.849, allocations: 11.88 kB / 1.279 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/1.85, allocations: 151.9 kB / 1.279 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001088/1.852, allocations: 322.3 kB / 1.279 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/1.865, allocations: 4.073 MB / 1.283 GB, free: 10.29 MB / 0.8073 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.05481/1.92, allocations: 29.13 MB / 1.312 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003961/1.924, allocations: 1.455 MB / 1.313 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/1.924, allocations: 24.97 kB / 1.313 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/1.925, allocations: 43.56 kB / 1.313 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.607e-06/1.925, allocations: 0 / 1.313 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.2843/2.209, allocations: 34.44 MB / 1.347 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/2.209, allocations: 69.41 kB / 1.347 GB, free: 6.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/2.212, allocations: 1.227 MB / 1.348 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005437/2.213, allocations: 49.7 kB / 1.348 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/2.215, allocations: 1.52 MB / 1.35 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/2.216, allocations: 0.6084 MB / 1.35 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000493/2.217, allocations: 40 kB / 1.35 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003023/2.217, allocations: 389.8 kB / 1.351 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005163/2.222, allocations: 1.811 MB / 1.352 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005965/2.228, allocations: 2.315 MB / 1.355 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007553/2.236, allocations: 2.075 MB / 1.357 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/2.236, allocations: 4 kB / 1.357 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02678/2.263, allocations: 7.434 MB / 1.364 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/2.263, allocations: 13.25 kB / 1.364 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/2.263, allocations: 20.16 kB / 1.364 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07059/2.333, allocations: 8.523 MB / 1.372 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/2.336, allocations: 287.5 kB / 1.373 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05396/2.39, allocations: 20.45 MB / 1.392 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/2.393, allocations: 147.7 kB / 1.393 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007672/2.394, allocations: 179.9 kB / 1.393 GB, free: 6.445 MB / 0.9167 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.004077/2.398, allocations: 1.325 MB / 1.394 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008368/2.399, allocations: 197.7 kB / 1.394 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02642/2.425, allocations: 7.383 MB / 1.401 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/2.425, allocations: 23.94 kB / 1.402 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-05/2.425, allocations: 12 kB / 1.402 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.081e-05/2.425, allocations: 7.969 kB / 1.402 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04298/2.468, allocations: 11.93 MB / 1.413 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-05/2.468, allocations: 8 kB / 1.413 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/2.47, allocations: 167.7 kB / 1.413 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09328/2.564, allocations: 8.396 MB / 1.422 GB, free: 8.762 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005887/2.564, allocations: 72.3 kB / 1.422 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7405/3.305, allocations: 20.08 MB / 1.441 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/3.305, allocations: 11.03 kB / 1.441 GB, free: 264.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02617/3.331, allocations: 7.614 MB / 1.449 GB, free: 263.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002854/3.334, allocations: 0.7152 MB / 1.449 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/3.335, allocations: 38.64 kB / 1.449 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003431/3.339, allocations: 132.2 kB / 1.45 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001387/3.34, allocations: 183.9 kB / 1.45 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007313/3.341, allocations: 151.1 kB / 1.45 GB, free: 263.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002808/3.344, allocations: 0.9539 MB / 1.451 GB, free: 263 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/3.344, allocations: 0 / 1.451 GB, free: 263 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005448/3.349, allocations: 0.905 MB / 1.452 GB, free: 263 MB / 0.948 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.03195/3.381, allocations: 10.83 MB / 1.462 GB, free: 259.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02069/3.402, allocations: 5.876 MB / 1.468 GB, free: 259.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/3.402, allocations: 4.594 kB / 1.468 GB, free: 259.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01455/3.417, allocations: 3.658 MB / 1.472 GB, free: 258.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/3.421, allocations: 468.2 kB / 1.472 GB, free: 258.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07514/3.496, allocations: 35.09 MB / 1.506 GB, free: 242 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005441/3.502, allocations: 2.732 MB / 1.509 GB, free: 241.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002076/3.504, allocations: 384.4 kB / 1.509 GB, free: 241.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00263/3.507, allocations: 1.223 MB / 1.51 GB, free: 240.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/3.507, allocations: 0 / 1.51 GB, free: 240.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1744/3.681, allocations: 75.81 MB / 1.585 GB, free: 213.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/3.681, allocations: 239.4 kB / 1.585 GB, free: 213.2 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c:7: In file included from ./Buildings_8_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c:2: In file included from ./Buildings_8_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.c In file included from Buildings_8_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c:2: In file included from ./Buildings_8_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2: In file included from ./Buildings_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o' failed make: *** [Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o] Error 1