Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.585/2.585, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.002361/0.002361, allocations: 180.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 98.45 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005068, allocations: 17.81 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2198, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.244, allocations: 166.7 MB / 1.141 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/1.244, allocations: 95.61 kB / 1.141 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2443/1.489, allocations: 60.65 MB / 1.2 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.276e-06/1.489, allocations: 0 / 1.2 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001359/1.489, allocations: 39.98 kB / 1.2 GB, free: 12.88 MB / 0.7292 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.006319/1.495, allocations: 1.62 MB / 1.202 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.495, allocations: 12.03 kB / 1.202 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001097/1.496, allocations: 248.5 kB / 1.202 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/1.501, allocations: 472.6 kB / 1.203 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/1.505, allocations: 1.144 MB / 1.204 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/1.505, allocations: 114.8 kB / 1.204 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006921/1.506, allocations: 144.6 kB / 1.204 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008116/1.514, allocations: 2.772 MB / 1.207 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.108e-05/1.514, allocations: 7.844 kB / 1.207 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003071/1.514, allocations: 63.91 kB / 1.207 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007895/1.515, allocations: 163.4 kB / 1.207 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0071/1.522, allocations: 2.202 MB / 1.209 GB, free: 5.836 MB / 0.7292 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.03272/1.555, allocations: 14.14 MB / 1.223 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/1.559, allocations: 1.334 MB / 1.224 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/1.559, allocations: 16.62 kB / 1.224 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/1.559, allocations: 47.16 kB / 1.224 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 3.817e-06/1.559, allocations: 0 / 1.224 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139): time 0.1474/1.707, allocations: 17.74 MB / 1.242 GB, free: 4.594 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.707, allocations: 64.72 kB / 1.242 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/1.709, allocations: 0.9527 MB / 1.243 GB, free: 3.555 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004732/1.71, allocations: 49.7 kB / 1.243 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007122/1.71, allocations: 0.7283 MB / 1.243 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009095/1.711, allocations: 489 kB / 1.244 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/1.712, allocations: 32 kB / 1.244 GB, free: 2.242 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00035/1.712, allocations: 422.9 kB / 1.244 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004223/1.716, allocations: 1.472 MB / 1.246 GB, free: 356 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004605/1.721, allocations: 1.769 MB / 1.248 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004746/1.726, allocations: 1.701 MB / 1.249 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.726, allocations: 0 / 1.249 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01985/1.746, allocations: 5.434 MB / 1.254 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/1.746, allocations: 11.94 kB / 1.255 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/1.746, allocations: 8 kB / 1.255 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05228/1.798, allocations: 5.893 MB / 1.26 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/1.8, allocations: 215.6 kB / 1.26 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04141/1.841, allocations: 15.82 MB / 1.276 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/1.844, allocations: 100.3 kB / 1.276 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008061/1.845, allocations: 163.9 kB / 1.276 GB, free: 0.7578 MB / 0.7917 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 () * Number of clocked 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.002424/1.847, allocations: 0.7315 MB / 1.277 GB, free: 16 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/1.848, allocations: 118.6 kB / 1.277 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/1.867, allocations: 5.012 MB / 1.282 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/1.867, allocations: 12 kB / 1.282 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.552e-05/1.867, allocations: 16 kB / 1.282 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-05/1.867, allocations: 3.984 kB / 1.282 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02808/1.895, allocations: 8.416 MB / 1.29 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.717e-05/1.895, allocations: 4.656 kB / 1.29 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009623/1.896, allocations: 127.8 kB / 1.29 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05224/1.948, allocations: 5.678 MB / 1.296 GB, free: 12.46 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004802/1.949, allocations: 59.94 kB / 1.296 GB, free: 12.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03498/1.984, allocations: 13.25 MB / 1.309 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/1.984, allocations: 4 kB / 1.309 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/2.001, allocations: 4.88 MB / 1.314 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/2.004, allocations: 0.5971 MB / 1.314 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006857/2.004, allocations: 31.97 kB / 1.314 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/2.006, allocations: 75.84 kB / 1.314 GB, free: 9.047 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007595/2.007, allocations: 141.1 kB / 1.314 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003514/2.008, allocations: 111.9 kB / 1.315 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001778/2.009, allocations: 0.7371 MB / 1.315 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.3e-07/2.009, allocations: 0 / 1.315 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003207/2.013, allocations: 0.5859 MB / 1.316 GB, free: 7.48 MB / 0.8386 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 () * Number of clocked 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.017/2.03, allocations: 6.601 MB / 1.322 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01387/2.044, allocations: 4.131 MB / 1.326 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.044, allocations: 4 kB / 1.326 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01013/2.054, allocations: 2.438 MB / 1.329 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/2.056, allocations: 188.1 kB / 1.329 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04273/2.098, allocations: 19.95 MB / 1.348 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/2.101, allocations: 1.696 MB / 1.35 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001867/2.103, allocations: 405 kB / 1.35 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/2.104, allocations: 0.5577 MB / 1.351 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of SimCode: time 1.272e-06/2.104, allocations: 0 / 1.351 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.169/2.273, allocations: 50.97 MB / 1.401 GB, free: 192 kB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/2.274, allocations: 247.9 kB / 1.401 GB, free: 15.92 MB / 0.9323 GB Error: Error building simulator. Build log: clang -Os -fPIC -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_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c:7: In file included from ./Buildings_8_0_0_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: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 -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_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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 -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_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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 -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_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c:2: In file included from ./Buildings_8_0_0_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: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 -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_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2: In file included from ./Buildings_8_0_0_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: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_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:487:6: note: previous definition is here void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1173:6: error: redefinition of 'getIterationVarsNLS343' void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1659:6: note: previous definition is here void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2345:6: error: redefinition of 'getIterationVarsNLS63' void getIterationVarsNLS63(struct DATA *inData, double *array) ^ Buildings_8_0_0_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. : recipe for target 'Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o' failed make: *** [Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o] Error 1