Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.258/2.258, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001428/0.001428, allocations: 184.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.001103/0.001103, allocations: 95.89 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.559e-05/6.561e-05, allocations: 5.875 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3711, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.596, allocations: 179.3 MB / 1.394 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.596, allocations: 94.3 kB / 1.394 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1763/1.772, allocations: 73.69 MB / 1.466 GB, free: 4.852 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.793e-06/1.772, allocations: 4 kB / 1.466 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.886e-05/1.772, allocations: 43.92 kB / 1.466 GB, free: 4.805 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003819/1.776, allocations: 1.508 MB / 1.468 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.776, allocations: 12.03 kB / 1.468 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004998/1.777, allocations: 248.5 kB / 1.468 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/1.78, allocations: 477.3 kB / 1.468 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/1.782, allocations: 1.141 MB / 1.469 GB, free: 1.328 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/1.782, allocations: 110.9 kB / 1.469 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/1.782, allocations: 144 kB / 1.47 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/1.786, allocations: 2.748 MB / 1.472 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/1.786, allocations: 8 kB / 1.472 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/1.787, allocations: 63.97 kB / 1.472 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00045/1.787, allocations: 158.9 kB / 1.472 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/1.79, allocations: 2.175 MB / 1.475 GB, free: 11.8 MB / 0.9323 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.01803/1.808, allocations: 14.14 MB / 1.488 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/1.81, allocations: 1.325 MB / 1.49 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/1.812, allocations: 1.091 MB / 1.491 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/1.812, allocations: 12.77 kB / 1.491 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/1.812, allocations: 43.34 kB / 1.491 GB, free: 10.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 2.255e-06/1.812, allocations: 0 / 1.491 GB, free: 10.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=139): time 0.0675/1.879, allocations: 16.16 MB / 1.507 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/1.879, allocations: 72.67 kB / 1.507 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/1.881, allocations: 0.9372 MB / 1.508 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/1.881, allocations: 49.7 kB / 1.508 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/1.881, allocations: 0.7245 MB / 1.508 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/1.882, allocations: 488.9 kB / 1.509 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/1.882, allocations: 28 kB / 1.509 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.882, allocations: 422.7 kB / 1.509 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/1.884, allocations: 1.452 MB / 1.511 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/1.886, allocations: 1.761 MB / 1.512 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/1.889, allocations: 1.677 MB / 1.514 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.889, allocations: 4 kB / 1.514 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009657/1.898, allocations: 5.397 MB / 1.519 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.898, allocations: 8 kB / 1.519 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.898, allocations: 8 kB / 1.519 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02654/1.925, allocations: 5.877 MB / 1.525 GB, free: 6.785 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/1.926, allocations: 215.6 kB / 1.525 GB, free: 6.574 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/1.948, allocations: 15.23 MB / 1.54 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/1.95, allocations: 95.89 kB / 1.54 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005656/1.95, allocations: 164.1 kB / 1.54 GB, free: 6.75 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005743/1.951, allocations: 192.6 kB / 1.541 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/1.951, allocations: 114.6 kB / 1.541 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009779/1.961, allocations: 4.976 MB / 1.546 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/1.961, allocations: 23.92 kB / 1.546 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.961, allocations: 11.94 kB / 1.546 GB, free: 1.406 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/1.961, allocations: 7.969 kB / 1.546 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/1.977, allocations: 8.369 MB / 1.554 GB, free: 8.902 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/1.977, allocations: 7.984 kB / 1.554 GB, free: 8.895 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/1.977, allocations: 124.3 kB / 1.554 GB, free: 8.773 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02638/2.004, allocations: 5.661 MB / 1.559 GB, free: 3.098 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004444/2.004, allocations: 59.94 kB / 1.559 GB, free: 3.039 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/2.024, allocations: 12.77 MB / 1.572 GB, free: 5.949 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/2.024, allocations: 4 kB / 1.572 GB, free: 5.945 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008584/2.032, allocations: 4.849 MB / 1.577 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/2.034, allocations: 0.601 MB / 1.577 GB, free: 312 kB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003664/2.034, allocations: 27.98 kB / 1.577 GB, free: 284 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/2.035, allocations: 79.78 kB / 1.577 GB, free: 204 kB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/2.036, allocations: 133 kB / 1.577 GB, free: 72 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/2.036, allocations: 115.9 kB / 1.578 GB, free: 15.96 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001259/2.037, allocations: 0.7256 MB / 1.578 GB, free: 15.23 MB / 1.042 GB Notification: Performance of sort global known variables: time 2e-07/2.037, allocations: 0 / 1.578 GB, free: 15.23 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002756/2.04, allocations: 0.5898 MB / 1.579 GB, free: 14.64 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.009215/2.049, allocations: 6.582 MB / 1.585 GB, free: 7.91 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.007249/2.056, allocations: 4.074 MB / 1.589 GB, free: 3.812 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/2.056, allocations: 0 / 1.589 GB, free: 3.812 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.005125/2.062, allocations: 2.41 MB / 1.592 GB, free: 1.379 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/2.063, allocations: 189.9 kB / 1.592 GB, free: 1.191 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00722/2.07, allocations: 3.812 MB / 1.596 GB, free: 13.28 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/2.072, allocations: 1.7 MB / 1.597 GB, free: 11.55 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001062/2.073, allocations: 409 kB / 1.598 GB, free: 11.15 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007735/2.074, allocations: 0.55 MB / 1.598 GB, free: 10.6 MB / 1.057 GB Notification: Performance of SimCode: time 4.098e-06/2.074, allocations: 0 / 1.598 GB, free: 10.6 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08365/2.157, allocations: 51.25 MB / 1.648 GB, free: 7.656 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/2.157, allocations: 219 kB / 1.648 GB, free: 7.434 MB / 1.104 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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c:7: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h: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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c:2: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c:2: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h: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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h: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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1119:6: error: redefinition of 'residualFunc343' void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:451:6: note: previous definition is here void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:487:6: note: previous definition is here void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1160:6: error: redefinition of 'initializeStaticDataNLS343' void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:492:6: note: previous definition is here void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1173:6: error: redefinition of 'getIterationVarsNLS343' void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:505:6: note: previous definition is here void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2291:6: error: redefinition of 'residualFunc63' void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1623:6: note: previous definition is here void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1659:6: note: previous definition is here void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2332:6: error: redefinition of 'initializeStaticDataNLS63' void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1664:6: note: previous definition is here void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2345:6: error: redefinition of 'getIterationVarsNLS63' void getIterationVarsNLS63(struct DATA *inData, double *array) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1677:6: note: previous definition is here void getIterationVarsNLS63(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. make: *** [: Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o] Error 1