Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 180.8 kB / 492.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009737, allocations: 89.8 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.784e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2556, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9415/1.197, allocations: 177.2 MB / 1.386 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/1.197, allocations: 90 kB / 1.386 GB, free: 17.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3804/1.578, allocations: 161.4 MB / 1.543 GB, free: 3.371 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.926e-06/1.578, allocations: 0 / 1.543 GB, free: 3.371 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003381/1.578, allocations: 87.98 kB / 1.543 GB, free: 3.285 MB / 0.948 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.009596/1.588, allocations: 2.905 MB / 1.546 GB, free: 332 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.588, allocations: 8.031 kB / 1.546 GB, free: 324 kB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002176/1.59, allocations: 0.5013 MB / 1.547 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007213/1.597, allocations: 0.971 MB / 1.548 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006028/1.603, allocations: 2.268 MB / 1.55 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/1.604, allocations: 250.3 kB / 1.55 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/1.605, allocations: 312 kB / 1.55 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/1.619, allocations: 5.617 MB / 1.556 GB, free: 6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/1.619, allocations: 15.88 kB / 1.556 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008564/1.62, allocations: 147.9 kB / 1.556 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006515/1.62, allocations: 322.3 kB / 1.556 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007964/1.628, allocations: 4.007 MB / 1.56 GB, free: 1.508 MB / 0.9636 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.03336/1.662, allocations: 29.13 MB / 1.589 GB, free: 1.664 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/1.664, allocations: 1.447 MB / 1.59 GB, free: 212 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/1.666, allocations: 1.491 MB / 1.591 GB, free: 14.71 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.021e-05/1.666, allocations: 20.98 kB / 1.591 GB, free: 14.7 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/1.666, allocations: 47.5 kB / 1.592 GB, free: 14.64 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 2.755e-06/1.666, allocations: 0 / 1.592 GB, free: 14.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=179): time 0.1375/1.804, allocations: 33.12 MB / 1.624 GB, free: 13.46 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/1.804, allocations: 77.41 kB / 1.624 GB, free: 13.37 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/1.806, allocations: 1.211 MB / 1.625 GB, free: 12.16 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003205/1.806, allocations: 57.64 kB / 1.625 GB, free: 12.09 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009222/1.807, allocations: 1.516 MB / 1.627 GB, free: 10.56 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/1.807, allocations: 0.6084 MB / 1.627 GB, free: 9.945 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.808, allocations: 40 kB / 1.627 GB, free: 9.906 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.808, allocations: 389.8 kB / 1.628 GB, free: 9.52 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/1.81, allocations: 1.788 MB / 1.629 GB, free: 7.73 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/1.813, allocations: 2.295 MB / 1.632 GB, free: 5.23 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/1.816, allocations: 2.059 MB / 1.634 GB, free: 3.172 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.816, allocations: 4 kB / 1.634 GB, free: 3.168 MB / 1.042 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01363/1.829, allocations: 7.383 MB / 1.641 GB, free: 11.75 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/1.83, allocations: 18.28 kB / 1.641 GB, free: 11.73 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/1.83, allocations: 16 kB / 1.641 GB, free: 11.71 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03563/1.865, allocations: 8.495 MB / 1.649 GB, free: 3.199 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.867, allocations: 291.5 kB / 1.649 GB, free: 2.914 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02814/1.895, allocations: 19.67 MB / 1.669 GB, free: 14.75 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/1.897, allocations: 139.8 kB / 1.669 GB, free: 14.62 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/1.898, allocations: 171.9 kB / 1.669 GB, free: 14.45 MB / 1.089 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.0004664/1.898, allocations: 224.4 kB / 1.669 GB, free: 14.22 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/1.898, allocations: 193.7 kB / 1.669 GB, free: 14.03 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/1.912, allocations: 7.34 MB / 1.677 GB, free: 6.648 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/1.912, allocations: 16 kB / 1.677 GB, free: 6.633 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.912, allocations: 16 kB / 1.677 GB, free: 6.617 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.23e-05/1.912, allocations: 11.95 kB / 1.677 GB, free: 6.605 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.934, allocations: 11.89 MB / 1.688 GB, free: 10.54 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.934, allocations: 7.984 kB / 1.688 GB, free: 10.54 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/1.935, allocations: 171.8 kB / 1.688 GB, free: 10.37 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03499/1.97, allocations: 8.372 MB / 1.697 GB, free: 1.973 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005035/1.97, allocations: 75.92 kB / 1.697 GB, free: 1.898 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02693/1.997, allocations: 19.29 MB / 1.715 GB, free: 14.12 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/1.997, allocations: 12.44 kB / 1.715 GB, free: 14.11 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/2.01, allocations: 7.569 MB / 1.723 GB, free: 6.238 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/2.012, allocations: 0.7131 MB / 1.724 GB, free: 5.504 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/2.012, allocations: 32 kB / 1.724 GB, free: 5.473 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/2.013, allocations: 131.8 kB / 1.724 GB, free: 5.344 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005244/2.014, allocations: 184.9 kB / 1.724 GB, free: 5.164 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/2.014, allocations: 143.9 kB / 1.724 GB, free: 5.023 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001215/2.015, allocations: 0.9348 MB / 1.725 GB, free: 4.094 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.51e-07/2.015, allocations: 0 / 1.725 GB, free: 4.094 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002547/2.018, allocations: 0.93 MB / 1.726 GB, free: 3.164 MB / 1.135 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.01516/2.033, allocations: 10.8 MB / 1.736 GB, free: 8.129 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01092/2.044, allocations: 5.798 MB / 1.742 GB, free: 2.285 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/2.044, allocations: 4.875 kB / 1.742 GB, free: 2.281 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.5455/2.59, allocations: 3.598 MB / 1.746 GB, free: 328.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/2.592, allocations: 467.5 kB / 1.746 GB, free: 328.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/2.604, allocations: 6.681 MB / 1.753 GB, free: 327 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/2.606, allocations: 2.743 MB / 1.755 GB, free: 326.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0012/2.608, allocations: 383.4 kB / 1.756 GB, free: 326.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/2.609, allocations: 1.22 MB / 1.757 GB, free: 326.3 MB / 1.151 GB Notification: Performance of SimCode: time 7.72e-07/2.609, allocations: 2.5 kB / 1.757 GB, free: 326.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/2.718, allocations: 76.27 MB / 1.831 GB, free: 323.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/2.718, allocations: 206.9 kB / 1.831 GB, free: 323.4 MB / 1.151 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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c:7: In file included from ./Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c:2: In file included from ./Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.c In file included from Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c:2: In file included from ./Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2: In file included from ./Buildings_9_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_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:400:6: error: redefinition of 'initializeSparsePatternNLS519' void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:46:6: note: previous definition is here void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:418:6: error: redefinition of 'getIterationVarsNLS519' void getIterationVarsNLS519(struct DATA *inData, double *array) ^ Buildings_9_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_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1550:6: error: redefinition of 'initializeSparsePatternNLS465' void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:967:6: note: previous definition is here void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1568:6: error: redefinition of 'getIterationVarsNLS465' void getIterationVarsNLS465(struct DATA *inData, double *array) ^ Buildings_9_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_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1613:6: error: redefinition of 'initializeSparsePatternNLS461' void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:904:6: note: previous definition is here void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1631:6: error: redefinition of 'getIterationVarsNLS461' void getIterationVarsNLS461(struct DATA *inData, double *array) ^ Buildings_9_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_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2322:6: error: redefinition of 'initializeSparsePatternNLS212' void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1739:6: note: previous definition is here void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2340:6: error: redefinition of 'getIterationVarsNLS212' void getIterationVarsNLS212(struct DATA *inData, double *array) ^ Buildings_9_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_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2385:6: error: redefinition of 'initializeSparsePatternNLS208' void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1676:6: note: previous definition is here void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o] Error 1