Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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_N,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001696/0.001696, allocations: 195.4 kB / 377.1 MB, free: 1.523 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.677/1.677, allocations: 205.4 MB / 0.6366 GB, free: 8.551 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.0008908/0.0008909, allocations: 98.86 kB / 0.7509 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8154/1.102, allocations: 169.3 MB / 1.154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.103, allocations: 95.36 kB / 1.154 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1882/1.291, allocations: 72.59 MB / 1.225 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.196e-06/1.291, allocations: 0 / 1.225 GB, free: 3.859 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001791/1.291, allocations: 36 kB / 1.225 GB, free: 3.824 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006338/1.297, allocations: 1.757 MB / 1.226 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.298, allocations: 8.031 kB / 1.226 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001257/1.299, allocations: 265 kB / 1.227 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/1.302, allocations: 495.1 kB / 1.227 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/1.306, allocations: 1.29 MB / 1.228 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.306, allocations: 114.3 kB / 1.229 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/1.307, allocations: 159.8 kB / 1.229 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005767/1.312, allocations: 3.133 MB / 1.232 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/1.312, allocations: 0 / 1.232 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/1.313, allocations: 63.97 kB / 1.232 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006893/1.313, allocations: 183 kB / 1.232 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004304/1.318, allocations: 2.507 MB / 1.234 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02376/1.341, allocations: 14.85 MB / 1.249 GB, free: 9.906 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/1.344, allocations: 1.815 MB / 1.251 GB, free: 8.082 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-05/1.344, allocations: 24.97 kB / 1.251 GB, free: 8.059 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.344, allocations: 39.56 kB / 1.251 GB, free: 8.012 MB / 0.823 GB Notification: Performance of pre-optimization done (n=104): time 3.427e-06/1.344, allocations: 0 / 1.251 GB, free: 8.012 MB / 0.823 GB Notification: Performance of matching and sorting (n=183): time 0.165/1.509, allocations: 31.32 MB / 1.281 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/1.51, allocations: 69.41 kB / 1.281 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/1.513, allocations: 1.076 MB / 1.283 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007615/1.513, allocations: 49.7 kB / 1.283 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008616/1.514, allocations: 0.7758 MB / 1.283 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.516, allocations: 0.6238 MB / 1.284 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/1.516, allocations: 40 kB / 1.284 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002677/1.516, allocations: 385.9 kB / 1.284 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005932/1.522, allocations: 2.12 MB / 1.286 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006295/1.529, allocations: 2.446 MB / 1.289 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006328/1.535, allocations: 2.399 MB / 1.291 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/1.535, allocations: 0 / 1.291 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.03137/1.566, allocations: 8.329 MB / 1.299 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/1.567, allocations: 12 kB / 1.299 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/1.567, allocations: 8.562 kB / 1.299 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07253/1.639, allocations: 11.27 MB / 1.31 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.64, allocations: 251.6 kB / 1.311 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03672/1.677, allocations: 23.92 MB / 1.334 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/1.68, allocations: 131.8 kB / 1.334 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008495/1.681, allocations: 267.8 kB / 1.334 GB, free: 1.887 MB / 0.9011 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 () * Number of clocked 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.002207/1.683, allocations: 0.7901 MB / 1.335 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005945/1.683, allocations: 146.3 kB / 1.335 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/1.7, allocations: 8.008 MB / 1.343 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/1.7, allocations: 27.98 kB / 1.343 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.7, allocations: 12 kB / 1.343 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.597e-05/1.7, allocations: 7.969 kB / 1.343 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02436/1.725, allocations: 12.52 MB / 1.355 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/1.725, allocations: 4 kB / 1.355 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/1.725, allocations: 119.8 kB / 1.355 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05017/1.775, allocations: 10.96 MB / 1.366 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007485/1.776, allocations: 87.89 kB / 1.366 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.581/2.357, allocations: 19.97 MB / 1.386 GB, free: 229 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/2.357, allocations: 3.781 kB / 1.386 GB, free: 229 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/2.374, allocations: 7.578 MB / 1.393 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002297/2.376, allocations: 0.8349 MB / 1.394 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004369/2.377, allocations: 38.02 kB / 1.394 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/2.378, allocations: 89.03 kB / 1.394 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006949/2.379, allocations: 191.8 kB / 1.394 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003369/2.379, allocations: 179.6 kB / 1.394 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001221/2.38, allocations: 0.8414 MB / 1.395 GB, free: 228.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.51e-07/2.38, allocations: 0 / 1.395 GB, free: 228.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002923/2.383, allocations: 0.7758 MB / 1.396 GB, free: 228.1 MB / 0.9323 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 (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,(13,89.3%) 25} * Non-linear torn systems: 2 {8 16,13 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.01411/2.397, allocations: 9.398 MB / 1.405 GB, free: 225.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009793/2.407, allocations: 5.993 MB / 1.411 GB, free: 225.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/2.407, allocations: 0 / 1.411 GB, free: 225.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.007432/2.415, allocations: 3.591 MB / 1.414 GB, free: 225.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/2.416, allocations: 198.2 kB / 1.415 GB, free: 225.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03381/2.45, allocations: 26.56 MB / 1.441 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/2.451, allocations: 1.827 MB / 1.442 GB, free: 210.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001204/2.453, allocations: 403 kB / 1.443 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008296/2.453, allocations: 0.6766 MB / 1.443 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.693e-06/2.453, allocations: 0 / 1.443 GB, free: 209.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/2.593, allocations: 76.03 MB / 1.518 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/2.593, allocations: 237.8 kB / 1.518 GB, free: 201 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_N.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_8_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: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_N_functions.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_8_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: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_N_records.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_8_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: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_N_01exo.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_8_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: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_N_02nls.o Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_8_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: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_N_02nls.c:1637:6: error: redefinition of 'residualFunc452' void residualFunc452(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:641:6: note: previous definition is here void residualFunc452(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:681:6: note: previous definition is here void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1682:6: error: redefinition of 'initializeStaticDataNLS452' void initializeStaticDataNLS452(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:686:6: note: previous definition is here void initializeStaticDataNLS452(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1695:6: error: redefinition of 'getIterationVarsNLS452' void getIterationVarsNLS452(struct DATA *inData, double *array) ^ Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:699:6: note: previous definition is here void getIterationVarsNLS452(struct DATA *inData, double *array) ^ Buildings_8_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_8_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_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_8_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_8_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_8_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_8_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_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1