Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 285.4 MB / 298 MB, free: 6.016 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.001164/0.001164, allocations: 168.8 kB / 366.4 MB, free: 2.094 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.746/1.746, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008324/0.0008325, allocations: 99.11 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.611e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/0.6899, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.9237, allocations: 166.8 MB / 1.134 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/0.9241, allocations: 95.92 kB / 1.134 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1494/1.074, allocations: 60.4 MB / 1.193 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.834e-06/1.074, allocations: 0 / 1.193 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.267e-05/1.074, allocations: 36 kB / 1.193 GB, free: 4.047 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003815/1.078, allocations: 1.507 MB / 1.194 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.078, allocations: 12.03 kB / 1.195 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004114/1.078, allocations: 248.5 kB / 1.195 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/1.081, allocations: 473.4 kB / 1.195 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/1.083, allocations: 1.141 MB / 1.196 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/1.083, allocations: 110.9 kB / 1.196 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/1.083, allocations: 151.9 kB / 1.197 GB, free: 324 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004803/1.088, allocations: 2.752 MB / 1.199 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/1.088, allocations: 7.938 kB / 1.199 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/1.089, allocations: 63.97 kB / 1.199 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000498/1.089, allocations: 154.9 kB / 1.199 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/1.093, allocations: 2.167 MB / 1.202 GB, free: 11.04 MB / 0.8073 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.0201/1.113, allocations: 14.14 MB / 1.215 GB, free: 11.81 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/1.115, allocations: 1.319 MB / 1.217 GB, free: 10.48 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/1.116, allocations: 1.097 MB / 1.218 GB, free: 9.387 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.488e-05/1.116, allocations: 16.75 kB / 1.218 GB, free: 9.367 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.117, allocations: 43.34 kB / 1.218 GB, free: 9.316 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 4.078e-06/1.117, allocations: 0 / 1.218 GB, free: 9.316 MB / 0.823 GB Notification: Performance of matching and sorting (n=139): time 0.07403/1.191, allocations: 16.18 MB / 1.234 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/1.191, allocations: 68.66 kB / 1.234 GB, free: 9.027 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/1.193, allocations: 0.9411 MB / 1.235 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000477/1.194, allocations: 49.7 kB / 1.235 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/1.194, allocations: 0.7244 MB / 1.235 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000945/1.195, allocations: 489 kB / 1.236 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/1.196, allocations: 28 kB / 1.236 GB, free: 6.777 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003486/1.196, allocations: 426.7 kB / 1.236 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/1.199, allocations: 1.456 MB / 1.238 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/1.201, allocations: 1.749 MB / 1.239 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/1.204, allocations: 1.684 MB / 1.241 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/1.204, allocations: 4 kB / 1.241 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0122/1.216, allocations: 5.395 MB / 1.246 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/1.217, allocations: 12.56 kB / 1.246 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/1.217, allocations: 12 kB / 1.246 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02832/1.245, allocations: 5.874 MB / 1.252 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.246, allocations: 215.6 kB / 1.252 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.668/1.914, allocations: 15.22 MB / 1.267 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.916, allocations: 98.31 kB / 1.267 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005035/1.917, allocations: 165 kB / 1.267 GB, free: 216.3 MB / 0.8542 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.0004042/1.917, allocations: 179 kB / 1.268 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/1.917, allocations: 115.8 kB / 1.268 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.928, allocations: 4.983 MB / 1.273 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/1.928, allocations: 13.06 kB / 1.273 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.928, allocations: 9.906 kB / 1.273 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.181e-05/1.928, allocations: 8.5 kB / 1.273 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/1.946, allocations: 8.379 MB / 1.281 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/1.947, allocations: 4.5 kB / 1.281 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/1.947, allocations: 125.6 kB / 1.281 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02858/1.976, allocations: 5.657 MB / 1.286 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004917/1.976, allocations: 62.12 kB / 1.286 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/1.997, allocations: 12.77 MB / 1.299 GB, free: 208 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/1.997, allocations: 10.42 kB / 1.299 GB, free: 208 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009618/2.006, allocations: 4.841 MB / 1.304 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/2.008, allocations: 0.6044 MB / 1.304 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/2.008, allocations: 29.47 kB / 1.304 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/2.01, allocations: 77.44 kB / 1.304 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/2.01, allocations: 134.8 kB / 1.304 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/2.01, allocations: 113.4 kB / 1.305 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001121/2.011, allocations: 0.7239 MB / 1.305 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/2.011, allocations: 0 / 1.305 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002676/2.014, allocations: 0.5846 MB / 1.306 GB, free: 205.3 MB / 0.8542 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.009903/2.024, allocations: 6.583 MB / 1.312 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00791/2.032, allocations: 4.072 MB / 1.316 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/2.032, allocations: 3.938 kB / 1.316 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005534/2.038, allocations: 2.407 MB / 1.319 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/2.04, allocations: 187.2 kB / 1.319 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009528/2.049, allocations: 3.807 MB / 1.323 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/2.051, allocations: 1.699 MB / 1.324 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001153/2.052, allocations: 407.9 kB / 1.325 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/2.053, allocations: 0.5498 MB / 1.325 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.284e-06/2.053, allocations: 0 / 1.325 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07812/2.131, allocations: 51.23 MB / 1.375 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/2.131, allocations: 230.5 kB / 1.375 GB, free: 168.5 MB / 0.8542 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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c:7: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c:2: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c In file included from Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c:2: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2: In file included from ./Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:487:6: note: previous definition is here void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1173:6: error: redefinition of 'getIterationVarsNLS343' void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1659:6: note: previous definition is here void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2345:6: error: redefinition of 'getIterationVarsNLS63' void getIterationVarsNLS63(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o] Error 1