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.761/1.761, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001104/0.001104, allocations: 181 kB / 377.1 MB, free: 1.516 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.763/1.763, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.0009042/0.0009042, allocations: 87.78 kB / 0.7509 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004776, allocations: 11.98 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2815, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7621/1.044, allocations: 166.7 MB / 1.151 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.044, allocations: 97.39 kB / 1.151 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.3799/1.424, allocations: 152 MB / 1.3 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.304e-06/1.424, allocations: 0 / 1.3 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002786/1.424, allocations: 83.98 kB / 1.3 GB, free: 6.059 MB / 0.8698 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.01103/1.435, allocations: 3.154 MB / 1.303 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/1.435, allocations: 8.031 kB / 1.303 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002357/1.438, allocations: 0.5129 MB / 1.303 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007042/1.445, allocations: 0.9671 MB / 1.304 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006992/1.452, allocations: 2.275 MB / 1.307 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/1.452, allocations: 238.4 kB / 1.307 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/1.454, allocations: 315.8 kB / 1.307 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/1.467, allocations: 5.68 MB / 1.313 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/1.467, allocations: 15.88 kB / 1.313 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005882/1.468, allocations: 143.9 kB / 1.313 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006323/1.468, allocations: 324.7 kB / 1.313 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009177/1.478, allocations: 4.073 MB / 1.317 GB, free: 3.891 MB / 0.8855 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.03924/1.517, allocations: 29.12 MB / 1.346 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/1.519, allocations: 1.466 MB / 1.347 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.433e-05/1.519, allocations: 16.98 kB / 1.347 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/1.519, allocations: 47.52 kB / 1.347 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 4.759e-06/1.519, allocations: 0 / 1.347 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of matching and sorting (n=179): time 0.6667/2.186, allocations: 34.41 MB / 1.381 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/2.186, allocations: 70.59 kB / 1.381 GB, free: 192 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/2.188, allocations: 1.23 MB / 1.382 GB, free: 191.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003288/2.189, allocations: 55.83 kB / 1.382 GB, free: 191.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009816/2.19, allocations: 1.522 MB / 1.383 GB, free: 191.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006777/2.19, allocations: 0.6118 MB / 1.384 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/2.19, allocations: 39.81 kB / 1.384 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001304/2.191, allocations: 387.4 kB / 1.384 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/2.193, allocations: 1.814 MB / 1.386 GB, free: 190.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/2.195, allocations: 2.316 MB / 1.388 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/2.198, allocations: 2.075 MB / 1.391 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/2.198, allocations: 3.125 kB / 1.391 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01299/2.211, allocations: 7.431 MB / 1.398 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/2.211, allocations: 14.34 kB / 1.398 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/2.211, allocations: 19.22 kB / 1.398 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0341/2.245, allocations: 8.521 MB / 1.406 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/2.246, allocations: 289 kB / 1.406 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02545/2.272, allocations: 20.45 MB / 1.426 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/2.274, allocations: 146 kB / 1.427 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/2.275, allocations: 173.6 kB / 1.427 GB, free: 184.2 MB / 0.9323 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.003081/2.278, allocations: 1.329 MB / 1.428 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006775/2.279, allocations: 198 kB / 1.428 GB, free: 184 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/2.292, allocations: 7.374 MB / 1.435 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/2.292, allocations: 16.72 kB / 1.435 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-05/2.292, allocations: 14 kB / 1.435 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-05/2.292, allocations: 10.12 kB / 1.435 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/2.313, allocations: 11.95 MB / 1.447 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/2.313, allocations: 9.219 kB / 1.447 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007054/2.313, allocations: 170.1 kB / 1.447 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03369/2.347, allocations: 8.383 MB / 1.455 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005022/2.348, allocations: 76.33 kB / 1.456 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02842/2.376, allocations: 20.08 MB / 1.475 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/2.376, allocations: 16.31 kB / 1.475 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/2.392, allocations: 7.607 MB / 1.483 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/2.394, allocations: 0.7102 MB / 1.483 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006104/2.395, allocations: 36.95 kB / 1.483 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/2.396, allocations: 135.5 kB / 1.483 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006135/2.397, allocations: 181.3 kB / 1.484 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/2.397, allocations: 143.3 kB / 1.484 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001513/2.399, allocations: 0.9556 MB / 1.485 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.333e-06/2.399, allocations: 0.9375 kB / 1.485 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004345/2.403, allocations: 0.918 MB / 1.486 GB, free: 167.3 MB / 0.9323 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.01672/2.42, allocations: 10.84 MB / 1.496 GB, free: 162 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01226/2.432, allocations: 5.87 MB / 1.502 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/2.432, allocations: 0.5625 kB / 1.502 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.007522/2.44, allocations: 3.662 MB / 1.505 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/2.442, allocations: 470.1 kB / 1.506 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04405/2.486, allocations: 35.09 MB / 1.54 GB, free: 136.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/2.489, allocations: 2.739 MB / 1.543 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001279/2.49, allocations: 381.6 kB / 1.543 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/2.492, allocations: 1.219 MB / 1.544 GB, free: 134.6 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/2.492, allocations: 7.391 kB / 1.544 GB, free: 134.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/2.612, allocations: 75.87 MB / 1.619 GB, free: 92.85 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/2.613, allocations: 242.8 kB / 1.619 GB, free: 92.61 MB / 0.9323 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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_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: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 -falign-functions -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_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: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 -falign-functions -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_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: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 -falign-functions -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_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: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 -falign-functions -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_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: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_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