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.735/1.735, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.00124/0.00124, allocations: 180.6 kB / 371.6 MB, free: 3.344 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.653/1.653, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009455/0.0009454, allocations: 96.7 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.178e-05/6.204e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2754, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7981/1.074, allocations: 167.9 MB / 1.144 GB, free: 23.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.074, allocations: 95.67 kB / 1.144 GB, free: 23.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1684/1.242, allocations: 68.9 MB / 1.211 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.823e-06/1.242, allocations: 0 / 1.211 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001291/1.243, allocations: 39.98 kB / 1.211 GB, free: 3.863 MB / 0.7761 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.005211/1.248, allocations: 1.502 MB / 1.213 GB, free: 2.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.248, allocations: 8.031 kB / 1.213 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001184/1.249, allocations: 251.1 kB / 1.213 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/1.253, allocations: 481 kB / 1.213 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/1.255, allocations: 1.142 MB / 1.215 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/1.255, allocations: 103.4 kB / 1.215 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/1.255, allocations: 143.7 kB / 1.215 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/1.26, allocations: 2.757 MB / 1.217 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/1.26, allocations: 3.938 kB / 1.217 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/1.26, allocations: 67.72 kB / 1.218 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004783/1.261, allocations: 158.7 kB / 1.218 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003667/1.264, allocations: 2.165 MB / 1.22 GB, free: 12.77 MB / 0.7917 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.01964/1.284, allocations: 14.15 MB / 1.234 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/1.286, allocations: 1.331 MB / 1.235 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/1.288, allocations: 1.091 MB / 1.236 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/1.288, allocations: 20.69 kB / 1.236 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.288, allocations: 51.34 kB / 1.236 GB, free: 11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/1.288, allocations: 0 / 1.236 GB, free: 11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=139): time 0.06919/1.357, allocations: 16.16 MB / 1.252 GB, free: 10.82 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/1.357, allocations: 68.66 kB / 1.252 GB, free: 10.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/1.359, allocations: 0.945 MB / 1.253 GB, free: 9.793 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003118/1.359, allocations: 49.7 kB / 1.253 GB, free: 9.738 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005781/1.36, allocations: 0.7206 MB / 1.254 GB, free: 9.004 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006004/1.361, allocations: 488.9 kB / 1.254 GB, free: 8.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/1.361, allocations: 31.94 kB / 1.254 GB, free: 8.488 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002573/1.361, allocations: 422.7 kB / 1.254 GB, free: 8.066 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/1.363, allocations: 1.464 MB / 1.256 GB, free: 6.602 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/1.366, allocations: 1.748 MB / 1.258 GB, free: 4.754 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/1.368, allocations: 1.677 MB / 1.259 GB, free: 3.074 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/1.368, allocations: 11.94 kB / 1.259 GB, free: 3.062 MB / 0.823 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01016/1.378, allocations: 5.381 MB / 1.265 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/1.378, allocations: 13.56 kB / 1.265 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/1.378, allocations: 8.562 kB / 1.265 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02728/1.406, allocations: 5.879 MB / 1.27 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.407, allocations: 215.6 kB / 1.27 GB, free: 7.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02182/1.429, allocations: 15.23 MB / 1.285 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/1.43, allocations: 103.9 kB / 1.285 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/1.431, allocations: 163.9 kB / 1.286 GB, free: 7.715 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.0004069/1.431, allocations: 182.8 kB / 1.286 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/1.432, allocations: 122.6 kB / 1.286 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009593/1.441, allocations: 4.976 MB / 1.291 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/1.441, allocations: 16 kB / 1.291 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.441, allocations: 12 kB / 1.291 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/1.441, allocations: 7.969 kB / 1.291 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/1.456, allocations: 8.377 MB / 1.299 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.456, allocations: 4 kB / 1.299 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/1.457, allocations: 124.2 kB / 1.299 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02658/1.483, allocations: 5.655 MB / 1.305 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003802/1.484, allocations: 67.92 kB / 1.305 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/1.503, allocations: 12.76 MB / 1.317 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.503, allocations: 8 kB / 1.317 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00883/1.512, allocations: 4.858 MB / 1.322 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.513, allocations: 0.5971 MB / 1.322 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/1.514, allocations: 24 kB / 1.323 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/1.515, allocations: 79.83 kB / 1.323 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004213/1.515, allocations: 137 kB / 1.323 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/1.515, allocations: 115.9 kB / 1.323 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001032/1.516, allocations: 0.7255 MB / 1.324 GB, free: 204 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.81e-07/1.516, allocations: 0 / 1.324 GB, free: 204 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002142/1.518, allocations: 0.5898 MB / 1.324 GB, free: 15.61 MB / 0.9011 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.009274/1.528, allocations: 6.57 MB / 1.331 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00748/1.535, allocations: 4.069 MB / 1.335 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.535, allocations: 0 / 1.335 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005439/1.541, allocations: 2.413 MB / 1.337 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/1.542, allocations: 184.1 kB / 1.337 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007386/1.549, allocations: 3.812 MB / 1.341 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/1.551, allocations: 1.704 MB / 1.342 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001092/1.552, allocations: 405.3 kB / 1.343 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007649/1.553, allocations: 0.5539 MB / 1.343 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of SimCode: time 9.52e-07/1.553, allocations: 0 / 1.343 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6884/2.241, allocations: 51.24 MB / 1.393 GB, free: 250.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/2.242, allocations: 212.9 kB / 1.394 GB, free: 250.2 MB / 0.948 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_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: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_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: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_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: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_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: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_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: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_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