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_N.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_N,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.001025/0.001025, allocations: 192.7 kB / 321.3 MB, free: 14.64 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.678/1.678, allocations: 205.1 MB / 0.572 GB, free: 10.61 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.0008752/0.0008752, allocations: 94.17 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.223e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2039, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7349/0.9389, allocations: 161.8 MB / 1.05 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.9392, allocations: 93.81 kB / 1.05 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1578/1.097, allocations: 62.56 MB / 1.111 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/1.097, allocations: 0 / 1.111 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.108e-05/1.097, allocations: 35.98 kB / 1.111 GB, free: 14.38 MB / 0.7292 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.004295/1.102, allocations: 1.616 MB / 1.113 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/1.102, allocations: 12.03 kB / 1.113 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006308/1.102, allocations: 261 kB / 1.113 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/1.105, allocations: 0.4893 MB / 1.113 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/1.108, allocations: 1.271 MB / 1.115 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.903e-05/1.109, allocations: 111 kB / 1.115 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/1.109, allocations: 147.9 kB / 1.115 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005419/1.114, allocations: 3.101 MB / 1.118 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/1.114, allocations: 11.84 kB / 1.118 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/1.115, allocations: 67.97 kB / 1.118 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007038/1.115, allocations: 178.9 kB / 1.118 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004342/1.12, allocations: 2.468 MB / 1.121 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02471/1.144, allocations: 14.86 MB / 1.135 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/1.147, allocations: 1.803 MB / 1.137 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/1.15, allocations: 1.523 MB / 1.138 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.807e-05/1.15, allocations: 16.98 kB / 1.138 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/1.15, allocations: 39.56 kB / 1.138 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.727e-06/1.15, allocations: 0 / 1.138 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.1335/1.283, allocations: 29.24 MB / 1.167 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/1.283, allocations: 73.36 kB / 1.167 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/1.285, allocations: 1.061 MB / 1.168 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0005062/1.286, allocations: 57.7 kB / 1.168 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/1.286, allocations: 0.7758 MB / 1.169 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007458/1.287, allocations: 0.6199 MB / 1.17 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/1.287, allocations: 36 kB / 1.17 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000199/1.288, allocations: 385.9 kB / 1.17 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/1.291, allocations: 2.093 MB / 1.172 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003432/1.294, allocations: 2.419 MB / 1.174 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003809/1.298, allocations: 2.375 MB / 1.177 GB, free: 9.91 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/1.298, allocations: 0 / 1.177 GB, free: 9.91 MB / 0.7917 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01722/1.315, allocations: 8.276 MB / 1.185 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/1.315, allocations: 8 kB / 1.185 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.315, allocations: 8 kB / 1.185 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05266/1.368, allocations: 11.23 MB / 1.196 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.369, allocations: 247.6 kB / 1.196 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03603/1.405, allocations: 22.94 MB / 1.218 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/1.408, allocations: 127.8 kB / 1.218 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005622/1.408, allocations: 263.8 kB / 1.219 GB, free: 14.45 MB / 0.8386 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.0005036/1.409, allocations: 200.5 kB / 1.219 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/1.409, allocations: 142.3 kB / 1.219 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.425, allocations: 7.953 MB / 1.227 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/1.425, allocations: 16 kB / 1.227 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.425, allocations: 16 kB / 1.227 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.339e-05/1.425, allocations: 7.969 kB / 1.227 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02372/1.449, allocations: 12.58 MB / 1.239 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/1.449, allocations: 4 kB / 1.239 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/1.45, allocations: 112.3 kB / 1.239 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05227/1.502, allocations: 10.92 MB / 1.25 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007305/1.503, allocations: 95.88 kB / 1.25 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5127/2.015, allocations: 19.15 MB / 1.269 GB, free: 274.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/2.015, allocations: 7 kB / 1.269 GB, free: 274.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01717/2.033, allocations: 7.526 MB / 1.276 GB, free: 273.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/2.035, allocations: 0.8275 MB / 1.277 GB, free: 273.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/2.036, allocations: 35.05 kB / 1.277 GB, free: 273.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/2.037, allocations: 93.08 kB / 1.277 GB, free: 273.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007196/2.038, allocations: 185.7 kB / 1.277 GB, free: 273.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003972/2.038, allocations: 180.3 kB / 1.277 GB, free: 273.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001306/2.039, allocations: 0.8287 MB / 1.278 GB, free: 273.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.6e-07/2.039, allocations: 5.125 kB / 1.278 GB, free: 273.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003376/2.043, allocations: 0.772 MB / 1.279 GB, free: 273.5 MB / 0.8698 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.01828/2.061, allocations: 9.282 MB / 1.288 GB, free: 271.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01279/2.074, allocations: 5.913 MB / 1.294 GB, free: 270.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/2.074, allocations: 4.547 kB / 1.294 GB, free: 270.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.009754/2.084, allocations: 3.563 MB / 1.297 GB, free: 270.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/2.086, allocations: 200.1 kB / 1.297 GB, free: 270.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009834/2.095, allocations: 4.893 MB / 1.302 GB, free: 268.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/2.097, allocations: 1.827 MB / 1.304 GB, free: 267.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001073/2.098, allocations: 412.7 kB / 1.304 GB, free: 267.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008044/2.099, allocations: 0.6698 MB / 1.305 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.103e-06/2.099, allocations: 0 / 1.305 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/2.202, allocations: 76.13 MB / 1.379 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/2.202, allocations: 225.9 kB / 1.38 GB, free: 226.2 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_N.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS453' void initializeSparsePatternNLS453(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1