Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001301/0.001301, allocations: 182.2 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009602/0.00096, allocations: 91.5 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-05/6.384e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2761, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7777/1.054, allocations: 166.6 MB / 1.143 GB, free: 24.87 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.054, allocations: 93.91 kB / 1.143 GB, free: 24.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.3875/1.442, allocations: 151.4 MB / 1.29 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.655e-06/1.442, allocations: 0 / 1.29 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003639/1.442, allocations: 83.98 kB / 1.291 GB, free: 3.543 MB / 0.8542 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.01071/1.453, allocations: 2.904 MB / 1.293 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.453, allocations: 12.03 kB / 1.293 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002248/1.455, allocations: 0.5013 MB / 1.294 GB, free: 64 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007367/1.463, allocations: 0.9671 MB / 1.295 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006551/1.469, allocations: 2.271 MB / 1.297 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/1.47, allocations: 242.4 kB / 1.297 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/1.471, allocations: 315.9 kB / 1.298 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/1.487, allocations: 5.618 MB / 1.303 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/1.487, allocations: 11.94 kB / 1.303 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001133/1.488, allocations: 143.9 kB / 1.303 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007251/1.489, allocations: 334.2 kB / 1.304 GB, free: 5.781 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/1.499, allocations: 4 MB / 1.307 GB, free: 1.773 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.04312/1.543, allocations: 29.13 MB / 1.336 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/1.545, allocations: 1.439 MB / 1.337 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/1.548, allocations: 1.491 MB / 1.339 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/1.548, allocations: 24.91 kB / 1.339 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/1.548, allocations: 43.56 kB / 1.339 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 3.637e-06/1.548, allocations: 0 / 1.339 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=179): time 0.1456/1.693, allocations: 33.13 MB / 1.371 GB, free: 13.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/1.694, allocations: 69.41 kB / 1.371 GB, free: 13.64 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/1.696, allocations: 1.207 MB / 1.372 GB, free: 12.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005249/1.696, allocations: 57.64 kB / 1.372 GB, free: 12.37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/1.698, allocations: 1.527 MB / 1.374 GB, free: 10.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.699, allocations: 0.6006 MB / 1.375 GB, free: 10.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/1.699, allocations: 40 kB / 1.375 GB, free: 10.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002454/1.699, allocations: 389.8 kB / 1.375 GB, free: 9.789 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/1.702, allocations: 1.788 MB / 1.377 GB, free: 8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/1.705, allocations: 2.291 MB / 1.379 GB, free: 5.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/1.708, allocations: 2.059 MB / 1.381 GB, free: 3.441 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/1.708, allocations: 8 kB / 1.381 GB, free: 3.434 MB / 0.948 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.6592/2.368, allocations: 7.372 MB / 1.388 GB, free: 206.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.801e-05/2.368, allocations: 13.16 kB / 1.388 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/2.368, allocations: 16.31 kB / 1.388 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03925/2.407, allocations: 8.504 MB / 1.397 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/2.408, allocations: 287.7 kB / 1.397 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02706/2.435, allocations: 19.68 MB / 1.416 GB, free: 201.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/2.438, allocations: 139.2 kB / 1.416 GB, free: 201.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004458/2.438, allocations: 183.3 kB / 1.416 GB, free: 201.5 MB / 0.948 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 () * 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.000483/2.439, allocations: 213.2 kB / 1.417 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/2.439, allocations: 199.4 kB / 1.417 GB, free: 201.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/2.452, allocations: 7.338 MB / 1.424 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/2.452, allocations: 22.44 kB / 1.424 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-05/2.452, allocations: 15.09 kB / 1.424 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/2.452, allocations: 6.844 kB / 1.424 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/2.474, allocations: 11.88 MB / 1.436 GB, free: 200.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/2.474, allocations: 6.219 kB / 1.436 GB, free: 200.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/2.475, allocations: 173.2 kB / 1.436 GB, free: 200.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03308/2.508, allocations: 8.374 MB / 1.444 GB, free: 200.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005349/2.508, allocations: 75.53 kB / 1.444 GB, free: 200.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/2.533, allocations: 19.3 MB / 1.463 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/2.533, allocations: 13.02 kB / 1.463 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/2.546, allocations: 7.566 MB / 1.47 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/2.548, allocations: 0.7121 MB / 1.471 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004818/2.548, allocations: 48.88 kB / 1.471 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/2.549, allocations: 131.2 kB / 1.471 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000561/2.55, allocations: 177.2 kB / 1.471 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/2.55, allocations: 150.2 kB / 1.471 GB, free: 193.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001256/2.552, allocations: 0.9336 MB / 1.472 GB, free: 193 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.01e-07/2.552, allocations: 0 / 1.472 GB, free: 193 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003118/2.555, allocations: 0.9193 MB / 1.473 GB, free: 192.9 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 () * 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.01492/2.57, allocations: 10.79 MB / 1.484 GB, free: 187.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01164/2.581, allocations: 5.813 MB / 1.489 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/2.581, allocations: 3.641 kB / 1.489 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008275/2.59, allocations: 3.615 MB / 1.493 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/2.593, allocations: 464.1 kB / 1.493 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/2.608, allocations: 6.678 MB / 1.5 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003999/2.612, allocations: 2.74 MB / 1.503 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001615/2.613, allocations: 383.8 kB / 1.503 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/2.615, allocations: 1.221 MB / 1.504 GB, free: 179.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/2.615, allocations: 0 / 1.504 GB, free: 179.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/2.756, allocations: 76.27 MB / 1.579 GB, free: 168.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/2.756, allocations: 219.8 kB / 1.579 GB, free: 168 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c:7: In file included from ./Buildings_8_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c:2: In file included from ./Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c:2: In file included from ./Buildings_8_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2: In file included from ./Buildings_8_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_8_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_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_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:400:6: error: redefinition of 'initializeSparsePatternNLS519' void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_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_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_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_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_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_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_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1550:6: error: redefinition of 'initializeSparsePatternNLS465' void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_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_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_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_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_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_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_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1613:6: error: redefinition of 'initializeSparsePatternNLS461' void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_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_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_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_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_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_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_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2322:6: error: redefinition of 'initializeSparsePatternNLS212' void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_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_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_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_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_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_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_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2385:6: error: redefinition of 'initializeSparsePatternNLS208' void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_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_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. make: *** [: Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o] Error 1