Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 387.1 MB / 399.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 180 kB / 492.3 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.3 MB / 0.7871 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 98.5 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.676e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2616, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9345/1.196, allocations: 179.8 MB / 1.388 GB, free: 17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.196, allocations: 94.83 kB / 1.388 GB, free: 16.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1828/1.379, allocations: 76.86 MB / 1.463 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.844e-06/1.379, allocations: 0 / 1.463 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.156e-05/1.379, allocations: 43.98 kB / 1.463 GB, free: 1.641 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003349/1.383, allocations: 1.616 MB / 1.465 GB, free: 80 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.383, allocations: 8.031 kB / 1.465 GB, free: 72 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003894/1.383, allocations: 263.2 kB / 1.465 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/1.386, allocations: 493.1 kB / 1.466 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/1.388, allocations: 1.293 MB / 1.467 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/1.389, allocations: 114.4 kB / 1.467 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/1.389, allocations: 143.8 kB / 1.467 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00469/1.394, allocations: 3.105 MB / 1.47 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/1.394, allocations: 11.92 kB / 1.47 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/1.394, allocations: 63.47 kB / 1.47 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006936/1.395, allocations: 177.3 kB / 1.47 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/1.398, allocations: 2.472 MB / 1.473 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02238/1.421, allocations: 14.85 MB / 1.487 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/1.423, allocations: 1.807 MB / 1.489 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/1.426, allocations: 1.523 MB / 1.491 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.805e-05/1.426, allocations: 20.98 kB / 1.491 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/1.426, allocations: 47.56 kB / 1.491 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=104): time 2.925e-06/1.426, allocations: 0 / 1.491 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183): time 0.1368/1.562, allocations: 29.25 MB / 1.519 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/1.563, allocations: 77.36 kB / 1.519 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/1.564, allocations: 1.057 MB / 1.52 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003406/1.565, allocations: 53.7 kB / 1.52 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/1.565, allocations: 0.7796 MB / 1.521 GB, free: 9.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008095/1.566, allocations: 0.62 MB / 1.522 GB, free: 9.141 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/1.567, allocations: 40 kB / 1.522 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001816/1.567, allocations: 377.9 kB / 1.522 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/1.57, allocations: 2.097 MB / 1.524 GB, free: 6.629 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003279/1.574, allocations: 2.415 MB / 1.526 GB, free: 4.102 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003485/1.577, allocations: 2.37 MB / 1.529 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/1.577, allocations: 4 kB / 1.529 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01646/1.594, allocations: 8.278 MB / 1.537 GB, free: 9.426 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.594, allocations: 9.25 kB / 1.537 GB, free: 9.418 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/1.594, allocations: 8 kB / 1.537 GB, free: 9.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05438/1.648, allocations: 11.24 MB / 1.548 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.649, allocations: 247.6 kB / 1.548 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03865/1.688, allocations: 22.93 MB / 1.57 GB, free: 6.641 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/1.691, allocations: 127.7 kB / 1.571 GB, free: 6.516 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007299/1.691, allocations: 263.8 kB / 1.571 GB, free: 6.258 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,12 34} Notification: Performance of prepare postOptimizeDAE: time 0.000742/1.692, allocations: 199.6 kB / 1.571 GB, free: 6.059 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/1.693, allocations: 146.2 kB / 1.571 GB, free: 5.914 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.708, allocations: 7.949 MB / 1.579 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.679e-05/1.708, allocations: 16 kB / 1.579 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.121e-05/1.708, allocations: 16 kB / 1.579 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.191e-05/1.708, allocations: 11.95 kB / 1.579 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/1.731, allocations: 12.57 MB / 1.591 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.731, allocations: 4.469 kB / 1.591 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/1.732, allocations: 123.8 kB / 1.591 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05136/1.783, allocations: 10.91 MB / 1.602 GB, free: 6.109 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006835/1.784, allocations: 95.89 kB / 1.602 GB, free: 6.016 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02933/1.813, allocations: 19.17 MB / 1.621 GB, free: 2.512 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.813, allocations: 4 kB / 1.621 GB, free: 2.508 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.827, allocations: 7.53 MB / 1.628 GB, free: 10.8 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/1.829, allocations: 0.8309 MB / 1.629 GB, free: 9.949 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/1.83, allocations: 36 kB / 1.629 GB, free: 9.914 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.831, allocations: 91.81 kB / 1.629 GB, free: 9.824 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/1.832, allocations: 185.7 kB / 1.629 GB, free: 9.641 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003117/1.832, allocations: 179.9 kB / 1.63 GB, free: 9.465 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001155/1.833, allocations: 0.8284 MB / 1.63 GB, free: 8.621 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.51e-07/1.833, allocations: 0 / 1.63 GB, free: 8.621 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002594/1.836, allocations: 0.7737 MB / 1.631 GB, free: 7.848 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,13 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.01442/1.85, allocations: 9.301 MB / 1.64 GB, free: 14.41 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.861, allocations: 5.911 MB / 1.646 GB, free: 8.473 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.861, allocations: 0 / 1.646 GB, free: 8.473 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.007974/1.869, allocations: 3.557 MB / 1.649 GB, free: 4.891 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/1.87, allocations: 208.1 kB / 1.65 GB, free: 4.684 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008529/1.879, allocations: 4.884 MB / 1.654 GB, free: 15.7 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/1.88, allocations: 1.831 MB / 1.656 GB, free: 13.84 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001102/1.881, allocations: 410.8 kB / 1.657 GB, free: 13.43 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009557/1.882, allocations: 0.6671 MB / 1.657 GB, free: 12.77 MB / 1.073 GB Notification: Performance of SimCode: time 1.303e-06/1.882, allocations: 0 / 1.657 GB, free: 12.77 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.998, allocations: 76.11 MB / 1.732 GB, free: 0.918 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/1.999, allocations: 224.8 kB / 1.732 GB, free: 0.6875 MB / 1.135 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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1637:6: error: redefinition of 'residualFunc453' void residualFunc453(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:641:6: note: previous definition is here void residualFunc453(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS453' void initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:681:6: note: previous definition is here void initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1682:6: error: redefinition of 'initializeStaticDataNLS453' void initializeStaticDataNLS453(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:686:6: note: previous definition is here void initializeStaticDataNLS453(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1695:6: error: redefinition of 'getIterationVarsNLS453' void getIterationVarsNLS453(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:699:6: note: previous definition is here void getIterationVarsNLS453(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3337:6: error: redefinition of 'residualFunc66' void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2335:6: note: previous definition is here void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2375:6: note: previous definition is here void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3382:6: error: redefinition of 'initializeStaticDataNLS66' void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2380:6: note: previous definition is here void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3395:6: error: redefinition of 'getIterationVarsNLS66' void getIterationVarsNLS66(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2393:6: note: previous definition is here void getIterationVarsNLS66(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. make: *** [: Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1