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.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001136, allocations: 183.2 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.001306/0.001306, allocations: 87.75 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003227, allocations: 9.375 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2223, allocations: 106.4 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7033/0.9257, allocations: 160.6 MB / 1.057 GB, free: 61.79 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.9261, allocations: 95.39 kB / 1.057 GB, free: 61.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1503/1.076, allocations: 60.65 MB / 1.116 GB, free: 55.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.926e-06/1.076, allocations: 0 / 1.116 GB, free: 55.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001006/1.077, allocations: 46.91 kB / 1.116 GB, free: 55.2 MB / 0.698 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.004335/1.081, allocations: 1.611 MB / 1.118 GB, free: 54.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.521e-05/1.081, allocations: 11.62 kB / 1.118 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005617/1.082, allocations: 252.8 kB / 1.118 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004288/1.086, allocations: 478.1 kB / 1.119 GB, free: 53.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/1.089, allocations: 1.141 MB / 1.12 GB, free: 53.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.804e-05/1.089, allocations: 108.1 kB / 1.12 GB, free: 53.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004028/1.09, allocations: 147.1 kB / 1.12 GB, free: 53.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/1.096, allocations: 2.776 MB / 1.123 GB, free: 52.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-05/1.096, allocations: 3.938 kB / 1.123 GB, free: 52.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/1.096, allocations: 64.41 kB / 1.123 GB, free: 52.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006857/1.097, allocations: 162.8 kB / 1.123 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004947/1.102, allocations: 2.2 MB / 1.125 GB, free: 52.06 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02403/1.126, allocations: 14.14 MB / 1.139 GB, free: 42.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/1.129, allocations: 1.34 MB / 1.14 GB, free: 42.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/1.129, allocations: 16.19 kB / 1.14 GB, free: 42.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/1.129, allocations: 38.94 kB / 1.14 GB, free: 42.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 4.188e-06/1.129, allocations: 0 / 1.14 GB, free: 42.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=139): time 0.07574/1.205, allocations: 17.76 MB / 1.158 GB, free: 36.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/1.205, allocations: 68.44 kB / 1.158 GB, free: 36.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/1.206, allocations: 0.9524 MB / 1.159 GB, free: 36.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/1.207, allocations: 47.23 kB / 1.159 GB, free: 36.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/1.207, allocations: 0.7199 MB / 1.159 GB, free: 36.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000414/1.207, allocations: 486.4 kB / 1.16 GB, free: 35.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/1.208, allocations: 31.97 kB / 1.16 GB, free: 35.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.208, allocations: 427.8 kB / 1.16 GB, free: 35.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/1.209, allocations: 1.47 MB / 1.162 GB, free: 35.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/1.211, allocations: 1.766 MB / 1.163 GB, free: 34.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/1.213, allocations: 1.695 MB / 1.165 GB, free: 34.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.213, allocations: 3.938 kB / 1.165 GB, free: 34.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.008766/1.222, allocations: 5.444 MB / 1.17 GB, free: 32.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.222, allocations: 7.812 kB / 1.17 GB, free: 32.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.222, allocations: 7.812 kB / 1.17 GB, free: 32.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02472/1.247, allocations: 5.885 MB / 1.176 GB, free: 30.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.248, allocations: 216.8 kB / 1.176 GB, free: 30.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/1.268, allocations: 15.81 MB / 1.192 GB, free: 20.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/1.27, allocations: 103.8 kB / 1.192 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005937/1.271, allocations: 167.9 kB / 1.192 GB, free: 19.91 MB / 0.698 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 () * Number of clocked 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.001663/1.272, allocations: 0.7316 MB / 1.193 GB, free: 19.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/1.273, allocations: 114.6 kB / 1.193 GB, free: 19.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008386/1.281, allocations: 5.003 MB / 1.198 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.281, allocations: 19.98 kB / 1.198 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.847e-05/1.281, allocations: 8 kB / 1.198 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/1.281, allocations: 8.156 kB / 1.198 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/1.295, allocations: 8.407 MB / 1.206 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.295, allocations: 8.406 kB / 1.206 GB, free: 5.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/1.296, allocations: 123.8 kB / 1.206 GB, free: 5.352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02366/1.319, allocations: 5.681 MB / 1.212 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004238/1.32, allocations: 63.94 kB / 1.212 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/1.339, allocations: 13.26 MB / 1.225 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/1.339, allocations: 8.031 kB / 1.225 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009268/1.348, allocations: 4.884 MB / 1.229 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.35, allocations: 0.5972 MB / 1.23 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004854/1.35, allocations: 27.94 kB / 1.23 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.352, allocations: 83.77 kB / 1.23 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/1.352, allocations: 137 kB / 1.23 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002868/1.352, allocations: 111.9 kB / 1.23 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001577/1.354, allocations: 0.7332 MB / 1.231 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/1.354, allocations: 0 / 1.231 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003784/1.358, allocations: 0.582 MB / 1.232 GB, free: 10.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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.009989/1.368, allocations: 6.601 MB / 1.238 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.379, allocations: 4.124 MB / 1.242 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/1.379, allocations: 0 / 1.242 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.008755/1.388, allocations: 2.442 MB / 1.245 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/1.39, allocations: 187.1 kB / 1.245 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04541/1.435, allocations: 19.96 MB / 1.264 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/1.437, allocations: 1.704 MB / 1.266 GB, free: 7.012 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001565/1.439, allocations: 405 kB / 1.266 GB, free: 6.613 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.44, allocations: 0.5578 MB / 1.267 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of SimCode: time 1.072e-06/1.44, allocations: 0 / 1.267 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/1.571, allocations: 50.98 MB / 1.317 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/1.571, allocations: 251.1 kB / 1.317 GB, free: 3.047 MB / 0.8073 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_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