Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.275/2.275, allocations: 387.1 MB / 399.7 MB, free: 9.41 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.001058/0.001058, allocations: 176.8 kB / 492.3 MB, free: 0.5938 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.662/1.662, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009737/0.0009735, allocations: 102.3 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.576e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3289, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9313/1.26, allocations: 178 MB / 1.386 GB, free: 17.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/1.261, allocations: 93.3 kB / 1.386 GB, free: 17.73 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4277/1.688, allocations: 175 MB / 1.557 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.144e-06/1.688, allocations: 0 / 1.557 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003895/1.689, allocations: 91.98 kB / 1.557 GB, free: 4.59 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01378/1.703, allocations: 3.342 MB / 1.561 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/1.703, allocations: 8.031 kB / 1.561 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003113/1.706, allocations: 0.5751 MB / 1.561 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008037/1.714, allocations: 1.044 MB / 1.562 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007909/1.722, allocations: 2.625 MB / 1.565 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/1.722, allocations: 275.3 kB / 1.565 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/1.724, allocations: 359.9 kB / 1.565 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/1.745, allocations: 6.611 MB / 1.572 GB, free: 5.281 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002224/1.745, allocations: 23.78 kB / 1.572 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/1.747, allocations: 163.9 kB / 1.572 GB, free: 5.098 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/1.748, allocations: 387.2 kB / 1.572 GB, free: 4.719 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/1.76, allocations: 4.785 MB / 1.577 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0492/1.81, allocations: 32.14 MB / 1.608 GB, free: 13.01 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/1.813, allocations: 2.142 MB / 1.611 GB, free: 10.86 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/1.817, allocations: 2.205 MB / 1.613 GB, free: 8.648 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/1.817, allocations: 29.28 kB / 1.613 GB, free: 8.621 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/1.817, allocations: 47.88 kB / 1.613 GB, free: 8.562 MB / 1.026 GB Notification: Performance of pre-optimization done (n=146): time 4.428e-06/1.817, allocations: 0 / 1.613 GB, free: 8.562 MB / 1.026 GB Notification: Performance of matching and sorting (n=251): time 0.3033/2.12, allocations: 65.35 MB / 1.677 GB, free: 7.109 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/2.12, allocations: 77.41 kB / 1.677 GB, free: 7.023 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/2.123, allocations: 1.427 MB / 1.678 GB, free: 5.551 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0006711/2.124, allocations: 69.7 kB / 1.678 GB, free: 5.477 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/2.125, allocations: 1.72 MB / 1.68 GB, free: 3.734 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/2.127, allocations: 0.8509 MB / 1.681 GB, free: 2.871 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004375/2.127, allocations: 52 kB / 1.681 GB, free: 2.82 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002169/2.127, allocations: 411.1 kB / 1.681 GB, free: 2.414 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004173/2.132, allocations: 2.753 MB / 1.684 GB, free: 15.65 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/2.136, allocations: 3.292 MB / 1.687 GB, free: 12.13 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0047/2.141, allocations: 3.086 MB / 1.69 GB, free: 9.051 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/2.141, allocations: 8 kB / 1.69 GB, free: 9.043 MB / 1.104 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02506/2.166, allocations: 11.95 MB / 1.702 GB, free: 13.06 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/2.166, allocations: 16.03 kB / 1.702 GB, free: 13.04 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/2.166, allocations: 12 kB / 1.702 GB, free: 13.03 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07419/2.24, allocations: 16.65 MB / 1.718 GB, free: 12.35 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/2.242, allocations: 291.4 kB / 1.718 GB, free: 12.07 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7116/2.953, allocations: 31.18 MB / 1.749 GB, free: 314.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/2.957, allocations: 170.3 kB / 1.749 GB, free: 314.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000627/2.957, allocations: 264.2 kB / 1.749 GB, free: 314.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {19 19,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006016/2.958, allocations: 245.9 kB / 1.749 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000608/2.958, allocations: 240.6 kB / 1.75 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/2.984, allocations: 12.09 MB / 1.761 GB, free: 314 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.322e-05/2.984, allocations: 24.53 kB / 1.761 GB, free: 314 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.17e-05/2.984, allocations: 26.41 kB / 1.761 GB, free: 314 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-05/2.985, allocations: 12.48 kB / 1.761 GB, free: 314 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0385/3.023, allocations: 18.11 MB / 1.779 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/3.023, allocations: 6.188 kB / 1.779 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007733/3.024, allocations: 168.7 kB / 1.779 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06898/3.093, allocations: 16.44 MB / 1.795 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006874/3.094, allocations: 117.5 kB / 1.795 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04325/3.137, allocations: 30.83 MB / 1.826 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/3.137, allocations: 12.92 kB / 1.826 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/3.159, allocations: 12.18 MB / 1.837 GB, free: 301.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00271/3.162, allocations: 1.005 MB / 1.838 GB, free: 301.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/3.163, allocations: 50.38 kB / 1.839 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/3.166, allocations: 158.5 kB / 1.839 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/3.167, allocations: 263.4 kB / 1.839 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005219/3.167, allocations: 236.4 kB / 1.839 GB, free: 301.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001886/3.169, allocations: 1.097 MB / 1.84 GB, free: 300.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.41e-07/3.169, allocations: 0 / 1.84 GB, free: 300.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004755/3.174, allocations: 1.257 MB / 1.841 GB, free: 300.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,19 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02645/3.201, allocations: 16.21 MB / 1.857 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01781/3.218, allocations: 9.271 MB / 1.866 GB, free: 291.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/3.218, allocations: 3.844 kB / 1.866 GB, free: 291.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01297/3.231, allocations: 6 MB / 1.872 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/3.234, allocations: 488.9 kB / 1.873 GB, free: 289.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/3.253, allocations: 8.57 MB / 1.881 GB, free: 286.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/3.257, allocations: 3.188 MB / 1.884 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001298/3.258, allocations: 386.1 kB / 1.885 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/3.26, allocations: 1.469 MB / 1.886 GB, free: 283.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.283e-06/3.26, allocations: 0 / 1.886 GB, free: 283.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/3.395, allocations: 104.6 MB / 1.988 GB, free: 196.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/3.395, allocations: 227.3 kB / 1.988 GB, free: 196.1 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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c:7: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_functions.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c:2: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_records.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_01exo.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c:2: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_02nls.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_RL_N_02nls.c:528:6: error: redefinition of 'residualFunc730' void residualFunc730(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:10:6: note: previous definition is here void residualFunc730(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:568:6: error: redefinition of 'initializeSparsePatternNLS730' void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:50:6: note: previous definition is here void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:573:6: error: redefinition of 'initializeStaticDataNLS730' void initializeStaticDataNLS730(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:55:6: note: previous definition is here void initializeStaticDataNLS730(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:586:6: error: redefinition of 'getIterationVarsNLS730' void getIterationVarsNLS730(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:68:6: note: previous definition is here void getIterationVarsNLS730(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2206:6: error: redefinition of 'residualFunc652' void residualFunc652(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1359:6: note: previous definition is here void residualFunc652(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2246:6: error: redefinition of 'initializeSparsePatternNLS652' void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1399:6: note: previous definition is here void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2251:6: error: redefinition of 'initializeStaticDataNLS652' void initializeStaticDataNLS652(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1404:6: note: previous definition is here void initializeStaticDataNLS652(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2264:6: error: redefinition of 'getIterationVarsNLS652' void getIterationVarsNLS652(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1417:6: note: previous definition is here void getIterationVarsNLS652(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2273:6: error: redefinition of 'residualFunc649' void residualFunc649(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1292:6: note: previous definition is here void residualFunc649(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2313:6: error: redefinition of 'initializeSparsePatternNLS649' void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1332:6: note: previous definition is here void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2318:6: error: redefinition of 'initializeStaticDataNLS649' void initializeStaticDataNLS649(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1337:6: note: previous definition is here void initializeStaticDataNLS649(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2331:6: error: redefinition of 'getIterationVarsNLS649' void getIterationVarsNLS649(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1350:6: note: previous definition is here void getIterationVarsNLS649(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3254:6: error: redefinition of 'residualFunc285' void residualFunc285(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2407:6: note: previous definition is here void residualFunc285(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3294:6: error: redefinition of 'initializeSparsePatternNLS285' void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2447:6: note: previous definition is here void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3299:6: error: redefinition of 'initializeStaticDataNLS285' void initializeStaticDataNLS285(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2452:6: note: previous definition is here void initializeStaticDataNLS285(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3312:6: error: redefinition of 'getIterationVarsNLS285' void getIterationVarsNLS285(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2465:6: note: previous definition is here void getIterationVarsNLS285(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3321:6: error: redefinition of 'residualFunc282' void residualFunc282(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2340:6: note: previous definition is here void residualFunc282(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3361:6: error: redefinition of 'initializeSparsePatternNLS282' void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2380:6: note: previous definition is here void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3366:6: error: redefinition of 'initializeStaticDataNLS282' void initializeStaticDataNLS282(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2385:6: note: previous definition is here void initializeStaticDataNLS282(void *inData, threadData_t *threadData, void *inSystemData) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [: Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o] Error 1