Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.349/2.349, allocations: 390.3 MB / 402.8 MB, free: 6.645 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.001337/0.001337, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.696/1.696, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.001193/0.001193, allocations: 95.91 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.434e-05/9.451e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4281, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.558, allocations: 180.6 MB / 1.395 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.559, allocations: 92.42 kB / 1.395 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1962/1.755, allocations: 76.84 MB / 1.47 GB, free: 440 kB / 0.9167 GB Notification: Performance of FrontEnd: time 2.044e-06/1.755, allocations: 3.938 kB / 1.47 GB, free: 436 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001658/1.755, allocations: 40 kB / 1.47 GB, free: 396 kB / 0.9167 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.006394/1.762, allocations: 1.625 MB / 1.472 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/1.762, allocations: 12.03 kB / 1.472 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001467/1.763, allocations: 257 kB / 1.472 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/1.767, allocations: 489.1 kB / 1.473 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/1.771, allocations: 1.29 MB / 1.474 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/1.771, allocations: 122.9 kB / 1.474 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008456/1.772, allocations: 147.9 kB / 1.474 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008059/1.78, allocations: 3.098 MB / 1.477 GB, free: 9.137 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.737e-05/1.78, allocations: 7.938 kB / 1.477 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006179/1.78, allocations: 67.97 kB / 1.477 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008693/1.781, allocations: 175 kB / 1.477 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005536/1.787, allocations: 2.476 MB / 1.48 GB, free: 6.41 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/1.814, allocations: 14.86 MB / 1.494 GB, free: 6.672 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/1.817, allocations: 1.812 MB / 1.496 GB, free: 4.852 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002404/1.819, allocations: 1.527 MB / 1.498 GB, free: 3.324 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/1.819, allocations: 16.98 kB / 1.498 GB, free: 3.309 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/1.82, allocations: 43.56 kB / 1.498 GB, free: 3.258 MB / 0.948 GB Notification: Performance of pre-optimization done (n=104): time 3.566e-06/1.82, allocations: 0 / 1.498 GB, free: 3.258 MB / 0.948 GB Notification: Performance of matching and sorting (n=183): time 0.1364/1.956, allocations: 29.24 MB / 1.526 GB, free: 5.98 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/1.956, allocations: 69.41 kB / 1.526 GB, free: 5.898 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/1.958, allocations: 1.053 MB / 1.527 GB, free: 4.82 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004672/1.959, allocations: 61.7 kB / 1.527 GB, free: 4.754 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006153/1.959, allocations: 0.7758 MB / 1.528 GB, free: 3.965 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009413/1.96, allocations: 0.6277 MB / 1.529 GB, free: 3.328 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/1.961, allocations: 36 kB / 1.529 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002103/1.961, allocations: 381.9 kB / 1.529 GB, free: 2.914 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/1.964, allocations: 2.093 MB / 1.531 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004016/1.968, allocations: 2.419 MB / 1.534 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004167/1.973, allocations: 2.373 MB / 1.536 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/1.973, allocations: 0 / 1.536 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01764/1.99, allocations: 8.276 MB / 1.544 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/1.99, allocations: 8 kB / 1.544 GB, free: 3.605 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/1.99, allocations: 8 kB / 1.544 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05302/2.043, allocations: 11.24 MB / 1.555 GB, free: 8.336 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/2.045, allocations: 243.6 kB / 1.555 GB, free: 8.098 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03458/2.079, allocations: 22.93 MB / 1.578 GB, free: 0.832 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/2.082, allocations: 119.8 kB / 1.578 GB, free: 0.7148 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005873/2.082, allocations: 267.8 kB / 1.578 GB, free: 464 kB / 1.026 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.0005376/2.083, allocations: 200.7 kB / 1.578 GB, free: 256 kB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004949/2.083, allocations: 138.3 kB / 1.578 GB, free: 116 kB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/2.099, allocations: 7.957 MB / 1.586 GB, free: 8.121 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/2.099, allocations: 19.98 kB / 1.586 GB, free: 8.102 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/2.099, allocations: 16 kB / 1.586 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-05/2.099, allocations: 11.95 kB / 1.586 GB, free: 8.074 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/2.125, allocations: 12.57 MB / 1.598 GB, free: 11.34 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/2.125, allocations: 4 kB / 1.598 GB, free: 11.34 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/2.126, allocations: 115.9 kB / 1.599 GB, free: 11.23 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05082/2.176, allocations: 10.93 MB / 1.609 GB, free: 288 kB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006582/2.177, allocations: 91.83 kB / 1.609 GB, free: 196 kB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03047/2.208, allocations: 19.17 MB / 1.628 GB, free: 12.68 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/2.208, allocations: 8 kB / 1.628 GB, free: 12.68 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/2.223, allocations: 7.526 MB / 1.635 GB, free: 4.984 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/2.225, allocations: 0.8309 MB / 1.636 GB, free: 4.133 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005172/2.225, allocations: 39.95 kB / 1.636 GB, free: 4.094 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/2.227, allocations: 91.86 kB / 1.636 GB, free: 4.004 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006387/2.227, allocations: 181.7 kB / 1.636 GB, free: 3.824 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000333/2.228, allocations: 183.8 kB / 1.637 GB, free: 3.645 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.001298/2.229, allocations: 0.8322 MB / 1.637 GB, free: 2.797 MB / 1.089 GB Notification: Performance of sort global known variables: time 3.41e-07/2.229, allocations: 0 / 1.637 GB, free: 2.797 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.003059/2.232, allocations: 0.7698 MB / 1.638 GB, free: 2.027 MB / 1.089 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.01504/2.247, allocations: 9.293 MB / 1.647 GB, free: 8.586 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01174/2.259, allocations: 5.919 MB / 1.653 GB, free: 2.645 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/2.259, allocations: 0 / 1.653 GB, free: 2.645 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.008638/2.268, allocations: 3.554 MB / 1.657 GB, free: 15.06 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/2.269, allocations: 206.5 kB / 1.657 GB, free: 14.86 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/2.279, allocations: 4.876 MB / 1.662 GB, free: 9.883 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/2.281, allocations: 1.831 MB / 1.663 GB, free: 8.02 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001217/2.282, allocations: 402.9 kB / 1.664 GB, free: 7.621 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009725/2.283, allocations: 0.6749 MB / 1.664 GB, free: 6.945 MB / 1.12 GB Notification: Performance of SimCode: time 1.082e-06/2.283, allocations: 0 / 1.664 GB, free: 6.945 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8123/3.095, allocations: 76.13 MB / 1.739 GB, free: 365 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/3.096, allocations: 221.6 kB / 1.739 GB, free: 364.8 MB / 1.151 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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS453' void initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1