Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.847/1.847, allocations: 288.2 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 189.8 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008152/0.000815, allocations: 99.77 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004288, allocations: 11.88 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2513, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7515/1.003, allocations: 165.6 MB / 1.141 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.003, allocations: 95.91 kB / 1.141 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3112/1.314, allocations: 129 MB / 1.267 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.377e-06/1.314, allocations: 0 / 1.267 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002742/1.315, allocations: 83.98 kB / 1.267 GB, free: 10.93 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01161/1.326, allocations: 3.138 MB / 1.27 GB, free: 7.727 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.326, allocations: 8.031 kB / 1.27 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002274/1.329, allocations: 0.509 MB / 1.271 GB, free: 7.199 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006763/1.336, allocations: 0.9748 MB / 1.272 GB, free: 6.219 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006031/1.342, allocations: 2.268 MB / 1.274 GB, free: 3.895 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/1.342, allocations: 242.4 kB / 1.274 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/1.343, allocations: 311.9 kB / 1.275 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/1.354, allocations: 5.675 MB / 1.28 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.374e-05/1.354, allocations: 15.88 kB / 1.28 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/1.354, allocations: 140 kB / 1.28 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005631/1.355, allocations: 330.2 kB / 1.281 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008837/1.364, allocations: 4.069 MB / 1.285 GB, free: 8.781 MB / 0.8073 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.04262/1.406, allocations: 29.13 MB / 1.313 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/1.409, allocations: 1.457 MB / 1.314 GB, free: 7.469 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/1.409, allocations: 20.98 kB / 1.314 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/1.409, allocations: 43.56 kB / 1.315 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.256e-06/1.409, allocations: 0 / 1.315 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.1381/1.547, allocations: 34.44 MB / 1.348 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/1.547, allocations: 69.41 kB / 1.348 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/1.55, allocations: 1.235 MB / 1.349 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003726/1.55, allocations: 53.7 kB / 1.349 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/1.551, allocations: 1.512 MB / 1.351 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008933/1.552, allocations: 0.6084 MB / 1.352 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/1.552, allocations: 40 kB / 1.352 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002055/1.553, allocations: 389.8 kB / 1.352 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/1.555, allocations: 1.815 MB / 1.354 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003143/1.559, allocations: 2.314 MB / 1.356 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/1.562, allocations: 2.071 MB / 1.358 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/1.562, allocations: 4 kB / 1.358 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01433/1.576, allocations: 7.435 MB / 1.365 GB, free: 3.066 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/1.576, allocations: 20 kB / 1.365 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/1.576, allocations: 16 kB / 1.365 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03578/1.612, allocations: 8.525 MB / 1.374 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.613, allocations: 287.5 kB / 1.374 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02975/1.643, allocations: 20.44 MB / 1.394 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/1.646, allocations: 143.7 kB / 1.394 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008147/1.647, allocations: 175.9 kB / 1.394 GB, free: 4.965 MB / 0.9167 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 () * Number of clocked 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 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {10 14,6 12,5 7} Notification: Performance of prepare postOptimizeDAE: time 0.00335/1.65, allocations: 1.328 MB / 1.395 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007381/1.651, allocations: 201.7 kB / 1.396 GB, free: 3.426 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.666, allocations: 7.387 MB / 1.403 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/1.666, allocations: 16 kB / 1.403 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-05/1.666, allocations: 12 kB / 1.403 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/1.666, allocations: 8.156 kB / 1.403 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/1.692, allocations: 11.94 MB / 1.415 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/1.692, allocations: 11.94 kB / 1.415 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007725/1.693, allocations: 164.6 kB / 1.415 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03587/1.729, allocations: 8.391 MB / 1.423 GB, free: 7.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005356/1.73, allocations: 75.92 kB / 1.423 GB, free: 7.195 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6253/2.355, allocations: 20.07 MB / 1.443 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/2.355, allocations: 9.25 kB / 1.443 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/2.371, allocations: 7.624 MB / 1.45 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/2.373, allocations: 0.71 MB / 1.451 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007026/2.374, allocations: 39.44 kB / 1.451 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/2.376, allocations: 132.3 kB / 1.451 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007318/2.376, allocations: 183.3 kB / 1.451 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000344/2.377, allocations: 144.7 kB / 1.451 GB, free: 263.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001911/2.379, allocations: 0.95 MB / 1.452 GB, free: 263.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.81e-07/2.379, allocations: 2.469 kB / 1.452 GB, free: 263.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004393/2.383, allocations: 0.908 MB / 1.453 GB, free: 263.8 MB / 0.948 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 () * Number of clocked 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 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {5 7,6 12,10 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01856/2.402, allocations: 10.83 MB / 1.464 GB, free: 260.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01155/2.413, allocations: 5.882 MB / 1.469 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/2.413, allocations: 4.719 kB / 1.469 GB, free: 260 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007984/2.421, allocations: 3.652 MB / 1.473 GB, free: 259.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/2.424, allocations: 470.1 kB / 1.473 GB, free: 259.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05008/2.474, allocations: 35.09 MB / 1.508 GB, free: 242.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005556/2.48, allocations: 2.738 MB / 1.51 GB, free: 241.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001664/2.482, allocations: 381.9 kB / 1.511 GB, free: 241.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/2.483, allocations: 1.221 MB / 1.512 GB, free: 240.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.514e-06/2.483, allocations: 0 / 1.512 GB, free: 240.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/2.599, allocations: 75.84 MB / 1.586 GB, free: 212.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/2.599, allocations: 262.5 kB / 1.586 GB, free: 211.8 MB / 0.948 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_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c:7: In file included from ./Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c In file included from Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2: In file included from ./Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:364:6: error: redefinition of 'residualFunc519' void residualFunc519(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:10:6: note: previous definition is here void residualFunc519(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:400:6: error: redefinition of 'initializeSparsePatternNLS519' void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:46:6: note: previous definition is here void initializeSparsePatternNLS519(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:405:6: error: redefinition of 'initializeStaticDataNLS519' void initializeStaticDataNLS519(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:51:6: note: previous definition is here void initializeStaticDataNLS519(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:418:6: error: redefinition of 'getIterationVarsNLS519' void getIterationVarsNLS519(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:64:6: note: previous definition is here void getIterationVarsNLS519(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1514:6: error: redefinition of 'residualFunc465' void residualFunc465(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:931:6: note: previous definition is here void residualFunc465(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1550:6: error: redefinition of 'initializeSparsePatternNLS465' void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:967:6: note: previous definition is here void initializeSparsePatternNLS465(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1555:6: error: redefinition of 'initializeStaticDataNLS465' void initializeStaticDataNLS465(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:972:6: note: previous definition is here void initializeStaticDataNLS465(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1568:6: error: redefinition of 'getIterationVarsNLS465' void getIterationVarsNLS465(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:985:6: note: previous definition is here void getIterationVarsNLS465(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1577:6: error: redefinition of 'residualFunc461' void residualFunc461(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:868:6: note: previous definition is here void residualFunc461(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1613:6: error: redefinition of 'initializeSparsePatternNLS461' void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:904:6: note: previous definition is here void initializeSparsePatternNLS461(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1618:6: error: redefinition of 'initializeStaticDataNLS461' void initializeStaticDataNLS461(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:909:6: note: previous definition is here void initializeStaticDataNLS461(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1631:6: error: redefinition of 'getIterationVarsNLS461' void getIterationVarsNLS461(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:922:6: note: previous definition is here void getIterationVarsNLS461(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2286:6: error: redefinition of 'residualFunc212' void residualFunc212(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1703:6: note: previous definition is here void residualFunc212(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2322:6: error: redefinition of 'initializeSparsePatternNLS212' void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1739:6: note: previous definition is here void initializeSparsePatternNLS212(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2327:6: error: redefinition of 'initializeStaticDataNLS212' void initializeStaticDataNLS212(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1744:6: note: previous definition is here void initializeStaticDataNLS212(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2340:6: error: redefinition of 'getIterationVarsNLS212' void getIterationVarsNLS212(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1757:6: note: previous definition is here void getIterationVarsNLS212(struct DATA *inData, double *array) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2349:6: error: redefinition of 'residualFunc208' void residualFunc208(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1640:6: note: previous definition is here void residualFunc208(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2385:6: error: redefinition of 'initializeSparsePatternNLS208' void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1676:6: note: previous definition is here void initializeSparsePatternNLS208(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2390:6: error: redefinition of 'initializeStaticDataNLS208' void initializeStaticDataNLS208(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:1681:6: note: previous definition is here void initializeStaticDataNLS208(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_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o] Error 1