Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.85/1.85, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001245/0.001245, allocations: 193 kB / 377.1 MB, free: 1.512 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.674/1.674, allocations: 205.4 MB / 0.6366 GB, free: 9.492 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.0009869/0.000987, allocations: 98.83 kB / 0.7509 GB, free: 62.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003456, allocations: 8 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7466/1.026, allocations: 168 MB / 1.152 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.027, allocations: 96.36 kB / 1.153 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1709/1.198, allocations: 69.21 MB / 1.22 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.513e-06/1.198, allocations: 4 kB / 1.22 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.199e-05/1.198, allocations: 36 kB / 1.22 GB, free: 8.723 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.003297/1.201, allocations: 1.616 MB / 1.222 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.201, allocations: 12.03 kB / 1.222 GB, free: 7.039 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000401/1.202, allocations: 254.6 kB / 1.222 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/1.204, allocations: 473.5 kB / 1.222 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/1.207, allocations: 1.146 MB / 1.224 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/1.207, allocations: 122.8 kB / 1.224 GB, free: 5.008 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/1.207, allocations: 136 kB / 1.224 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004952/1.212, allocations: 2.78 MB / 1.227 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/1.212, allocations: 7.844 kB / 1.227 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/1.212, allocations: 63.98 kB / 1.227 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004453/1.213, allocations: 154.9 kB / 1.227 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/1.217, allocations: 2.206 MB / 1.229 GB, free: 15.53 MB / 0.8073 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.01884/1.235, allocations: 14.14 MB / 1.243 GB, free: 300 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/1.238, allocations: 1.342 MB / 1.244 GB, free: 14.93 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/1.238, allocations: 12.56 kB / 1.244 GB, free: 14.93 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1.238, allocations: 47.16 kB / 1.244 GB, free: 14.87 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 3.296e-06/1.238, allocations: 0 / 1.244 GB, free: 14.87 MB / 0.823 GB Notification: Performance of matching and sorting (n=139): time 0.06743/1.305, allocations: 17.73 MB / 1.261 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/1.305, allocations: 64.72 kB / 1.261 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/1.307, allocations: 0.9565 MB / 1.262 GB, free: 12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/1.307, allocations: 45.7 kB / 1.262 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/1.307, allocations: 0.7321 MB / 1.263 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000542/1.308, allocations: 489 kB / 1.264 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/1.308, allocations: 28 kB / 1.264 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002559/1.308, allocations: 418.7 kB / 1.264 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.311, allocations: 1.476 MB / 1.265 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/1.314, allocations: 1.767 MB / 1.267 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/1.316, allocations: 1.699 MB / 1.269 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.316, allocations: 4 kB / 1.269 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009758/1.326, allocations: 5.436 MB / 1.274 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.326, allocations: 13.97 kB / 1.274 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.326, allocations: 8 kB / 1.274 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02911/1.355, allocations: 5.881 MB / 1.28 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.357, allocations: 219.6 kB / 1.28 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03688/1.394, allocations: 15.82 MB / 1.296 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.396, allocations: 91.98 kB / 1.296 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005542/1.397, allocations: 167.9 kB / 1.296 GB, free: 9.23 MB / 0.8698 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.002355/1.399, allocations: 0.7393 MB / 1.297 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000576/1.4, allocations: 114.6 kB / 1.297 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.411, allocations: 5.015 MB / 1.302 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/1.411, allocations: 15.98 kB / 1.302 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/1.411, allocations: 8 kB / 1.302 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.411, allocations: 3.984 kB / 1.302 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/1.427, allocations: 8.416 MB / 1.31 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.427, allocations: 4 kB / 1.31 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/1.428, allocations: 128.4 kB / 1.31 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02648/1.454, allocations: 5.677 MB / 1.316 GB, free: 4.941 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004606/1.455, allocations: 67.88 kB / 1.316 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/1.475, allocations: 13.26 MB / 1.329 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.475, allocations: 4 kB / 1.329 GB, free: 7.281 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009134/1.484, allocations: 4.877 MB / 1.333 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.485, allocations: 0.5971 MB / 1.334 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/1.486, allocations: 27.98 kB / 1.334 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008744/1.486, allocations: 79.84 kB / 1.334 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003894/1.487, allocations: 136.9 kB / 1.334 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.487, allocations: 111.9 kB / 1.334 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001011/1.488, allocations: 0.7332 MB / 1.335 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.9e-07/1.488, allocations: 7.938 kB / 1.335 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002067/1.49, allocations: 0.5937 MB / 1.336 GB, free: 15.93 MB / 0.9167 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.009567/1.5, allocations: 6.589 MB / 1.342 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007754/1.508, allocations: 4.13 MB / 1.346 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.508, allocations: 0 / 1.346 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005836/1.513, allocations: 2.441 MB / 1.348 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.515, allocations: 185.4 kB / 1.349 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4839/1.999, allocations: 19.93 MB / 1.368 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/2, allocations: 1.7 MB / 1.37 GB, free: 232.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001152/2.002, allocations: 403.2 kB / 1.37 GB, free: 232.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/2.002, allocations: 0.5597 MB / 1.371 GB, free: 232.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.633e-06/2.002, allocations: 0 / 1.371 GB, free: 232.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08376/2.086, allocations: 51 MB / 1.42 GB, free: 230.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/2.086, allocations: 241.7 kB / 1.421 GB, free: 230.3 MB / 0.9323 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c:7: In file included from ./Buildings_8_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c:2: In file included from ./Buildings_8_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c In file included from Buildings_8_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c:2: In file included from ./Buildings_8_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2: In file included from ./Buildings_8_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_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_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_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_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_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_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_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_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_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_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_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_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_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_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_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o] Error 1