Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 249.3 MB / 261.8 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 176.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009161/0.000916, allocations: 78.55 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.256e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2163, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8171/1.033, allocations: 160.5 MB / 1.049 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/1.034, allocations: 92.31 kB / 1.049 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1517/1.186, allocations: 60.41 MB / 1.108 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.186, allocations: 0 / 1.108 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.61e-05/1.186, allocations: 36 kB / 1.108 GB, free: 1.793 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003145/1.189, allocations: 1.507 MB / 1.109 GB, free: 240 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.189, allocations: 8.031 kB / 1.109 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003868/1.189, allocations: 252.6 kB / 1.109 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/1.192, allocations: 473.3 kB / 1.11 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/1.194, allocations: 1.137 MB / 1.111 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/1.194, allocations: 106.9 kB / 1.111 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/1.194, allocations: 147.9 kB / 1.111 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00466/1.199, allocations: 2.759 MB / 1.114 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/1.199, allocations: 0 / 1.114 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/1.199, allocations: 59.98 kB / 1.114 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004779/1.2, allocations: 154.9 kB / 1.114 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004026/1.204, allocations: 2.175 MB / 1.116 GB, free: 8.797 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/1.223, allocations: 14.14 MB / 1.13 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/1.225, allocations: 1.329 MB / 1.131 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/1.227, allocations: 1.083 MB / 1.132 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.619e-05/1.227, allocations: 16.77 kB / 1.133 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.227, allocations: 39.34 kB / 1.133 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.916e-06/1.227, allocations: 0 / 1.133 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139): time 0.06918/1.296, allocations: 16.18 MB / 1.148 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/1.296, allocations: 68.72 kB / 1.148 GB, free: 6.773 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/1.298, allocations: 0.945 MB / 1.149 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002714/1.298, allocations: 45.7 kB / 1.149 GB, free: 5.773 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/1.299, allocations: 0.7167 MB / 1.15 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/1.299, allocations: 489 kB / 1.151 GB, free: 4.559 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/1.299, allocations: 32 kB / 1.151 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002276/1.3, allocations: 426.7 kB / 1.151 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/1.302, allocations: 1.452 MB / 1.152 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/1.304, allocations: 1.753 MB / 1.154 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/1.306, allocations: 1.684 MB / 1.156 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/1.306, allocations: 4 kB / 1.156 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009856/1.316, allocations: 5.406 MB / 1.161 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/1.316, allocations: 8 kB / 1.161 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/1.316, allocations: 8.562 kB / 1.161 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02695/1.343, allocations: 5.866 MB / 1.167 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009826/1.344, allocations: 215.6 kB / 1.167 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/1.366, allocations: 15.24 MB / 1.182 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.368, allocations: 99.83 kB / 1.182 GB, free: 3.891 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/1.368, allocations: 164.5 kB / 1.182 GB, free: 3.73 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of prepare postOptimizeDAE: time 0.0003916/1.369, allocations: 184.6 kB / 1.182 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/1.369, allocations: 118.6 kB / 1.182 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009348/1.378, allocations: 4.984 MB / 1.187 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.378, allocations: 12 kB / 1.187 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/1.378, allocations: 20 kB / 1.187 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.987e-05/1.378, allocations: 7.969 kB / 1.187 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.394, allocations: 8.365 MB / 1.195 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/1.394, allocations: 4 kB / 1.195 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/1.394, allocations: 119.8 kB / 1.196 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02652/1.421, allocations: 5.669 MB / 1.201 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004694/1.421, allocations: 55.94 kB / 1.201 GB, free: 28 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/1.441, allocations: 12.77 MB / 1.214 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.441, allocations: 8 kB / 1.214 GB, free: 2.93 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009373/1.45, allocations: 4.849 MB / 1.218 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/1.453, allocations: 0.601 MB / 1.219 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005332/1.453, allocations: 32 kB / 1.219 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.455, allocations: 71.92 kB / 1.219 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006245/1.456, allocations: 137 kB / 1.219 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003609/1.456, allocations: 108.2 kB / 1.219 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001803/1.458, allocations: 0.7294 MB / 1.22 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.11e-07/1.458, allocations: 0 / 1.22 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003578/1.462, allocations: 0.5898 MB / 1.221 GB, free: 11.63 MB / 0.8386 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 (62): * Single equations (assignments): 58 * 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 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01811/1.48, allocations: 6.582 MB / 1.227 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01411/1.494, allocations: 4.069 MB / 1.231 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/1.494, allocations: 0 / 1.231 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.01064/1.505, allocations: 2.402 MB / 1.233 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/1.507, allocations: 195.8 kB / 1.234 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.518, allocations: 3.823 MB / 1.237 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/1.521, allocations: 1.7 MB / 1.239 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002047/1.523, allocations: 401 kB / 1.239 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/1.524, allocations: 0.55 MB / 1.24 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of SimCode: time 1.644e-06/1.524, allocations: 0 / 1.24 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6041/2.128, allocations: 51.22 MB / 1.29 GB, free: 275.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/2.128, allocations: 243.2 kB / 1.29 GB, free: 274.9 MB / 0.8698 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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1119:6: error: redefinition of 'residualFunc343' void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:451:6: note: previous definition is here void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:487:6: note: previous definition is here void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1160:6: error: redefinition of 'initializeStaticDataNLS343' void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:492:6: note: previous definition is here void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1173:6: error: redefinition of 'getIterationVarsNLS343' void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:505:6: note: previous definition is here void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2291:6: error: redefinition of 'residualFunc63' void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1623:6: note: previous definition is here void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1659:6: note: previous definition is here void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2332:6: error: redefinition of 'initializeStaticDataNLS63' void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1664:6: note: previous definition is here void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2345:6: error: redefinition of 'getIterationVarsNLS63' void getIterationVarsNLS63(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1677:6: note: previous definition is here void getIterationVarsNLS63(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o] Error 1