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.77/1.77, allocations: 289.7 MB / 302.2 MB, free: 2.129 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.001154/0.001154, allocations: 180.7 kB / 371.6 MB, free: 3.434 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.72/1.72, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009302/0.0009302, allocations: 89.8 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.509e-05/4.511e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2654, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9288/1.194, allocations: 169.2 MB / 1.145 GB, free: 23.06 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/1.195, allocations: 94.88 kB / 1.145 GB, free: 23.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.185/1.38, allocations: 72.3 MB / 1.216 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.308e-06/1.38, allocations: 0 / 1.216 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001566/1.38, allocations: 39.94 kB / 1.216 GB, free: 15.49 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.006056/1.386, allocations: 1.628 MB / 1.217 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.386, allocations: 12.03 kB / 1.217 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001129/1.387, allocations: 263 kB / 1.218 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/1.391, allocations: 486.9 kB / 1.218 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/1.394, allocations: 1.285 MB / 1.219 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.394, allocations: 117.8 kB / 1.22 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006953/1.395, allocations: 148 kB / 1.22 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006896/1.402, allocations: 3.095 MB / 1.223 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.556e-05/1.402, allocations: 7.938 kB / 1.223 GB, free: 9.734 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003792/1.402, allocations: 67.22 kB / 1.223 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007711/1.403, allocations: 177.2 kB / 1.223 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004834/1.408, allocations: 2.474 MB / 1.225 GB, free: 7.121 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02632/1.434, allocations: 14.86 MB / 1.24 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/1.438, allocations: 1.806 MB / 1.242 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/1.44, allocations: 1.531 MB / 1.243 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.317e-05/1.44, allocations: 16.97 kB / 1.243 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/1.44, allocations: 43.56 kB / 1.243 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=104): time 3.176e-06/1.44, allocations: 4 kB / 1.243 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of matching and sorting (n=183): time 0.1385/1.579, allocations: 29.23 MB / 1.272 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/1.579, allocations: 73.41 kB / 1.272 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/1.581, allocations: 1.061 MB / 1.273 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004356/1.582, allocations: 53.7 kB / 1.273 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007493/1.582, allocations: 0.7757 MB / 1.274 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.583, allocations: 0.62 MB / 1.274 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/1.584, allocations: 43.94 kB / 1.274 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000239/1.584, allocations: 385.9 kB / 1.275 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/1.588, allocations: 2.093 MB / 1.277 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003827/1.591, allocations: 2.417 MB / 1.279 GB, free: 15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003978/1.595, allocations: 2.378 MB / 1.281 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/1.595, allocations: 4 kB / 1.281 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01814/1.614, allocations: 8.269 MB / 1.289 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/1.614, allocations: 11.98 kB / 1.289 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/1.614, allocations: 12 kB / 1.289 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05575/1.669, allocations: 11.24 MB / 1.3 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.671, allocations: 251.6 kB / 1.301 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03693/1.708, allocations: 22.92 MB / 1.323 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/1.71, allocations: 123.8 kB / 1.323 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006423/1.711, allocations: 271.8 kB / 1.323 GB, free: 1.16 MB / 0.8855 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.0005286/1.712, allocations: 192.7 kB / 1.324 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004617/1.712, allocations: 146.3 kB / 1.324 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/1.728, allocations: 7.953 MB / 1.332 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/1.728, allocations: 20 kB / 1.332 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.52e-05/1.728, allocations: 16 kB / 1.332 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/1.728, allocations: 11.97 kB / 1.332 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0239/1.752, allocations: 12.57 MB / 1.344 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/1.752, allocations: 4 kB / 1.344 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/1.753, allocations: 119.8 kB / 1.344 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05304/1.806, allocations: 10.91 MB / 1.355 GB, free: 1.008 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006374/1.806, allocations: 87.89 kB / 1.355 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.606/2.412, allocations: 19.16 MB / 1.373 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/2.412, allocations: 11.8 kB / 1.373 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01554/2.428, allocations: 7.52 MB / 1.381 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/2.43, allocations: 0.8263 MB / 1.382 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/2.431, allocations: 39.55 kB / 1.382 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/2.432, allocations: 90.81 kB / 1.382 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007423/2.433, allocations: 184.3 kB / 1.382 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000413/2.433, allocations: 179.2 kB / 1.382 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00146/2.435, allocations: 0.8313 MB / 1.383 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/2.435, allocations: 0 / 1.383 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003261/2.438, allocations: 0.7753 MB / 1.384 GB, free: 231.4 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 () * 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.01649/2.454, allocations: 9.293 MB / 1.393 GB, free: 229.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01028/2.465, allocations: 5.92 MB / 1.399 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/2.465, allocations: 0 / 1.399 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.007751/2.472, allocations: 3.56 MB / 1.402 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/2.474, allocations: 199.7 kB / 1.402 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/2.482, allocations: 4.89 MB / 1.407 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/2.483, allocations: 1.824 MB / 1.409 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001005/2.484, allocations: 412.3 kB / 1.409 GB, free: 227 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007948/2.485, allocations: 0.6676 MB / 1.41 GB, free: 227 MB / 0.9323 GB Notification: Performance of SimCode: time 7.11e-07/2.485, allocations: 3.344 kB / 1.41 GB, free: 227 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/2.6, allocations: 76.13 MB / 1.484 GB, free: 222.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/2.6, allocations: 212.3 kB / 1.484 GB, free: 222.3 MB / 0.9323 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_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: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_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: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_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: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_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: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_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: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_N_02nls.c:1637:6: error: redefinition of 'residualFunc453' void residualFunc453(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 residualFunc453(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 'initializeSparsePatternNLS453' void initializeSparsePatternNLS453(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 initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_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_8_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_8_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_8_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_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