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.666/1.666, allocations: 285.4 MB / 298 MB, free: 5.914 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.001066/0.001066, allocations: 180.8 kB / 366.4 MB, free: 2.078 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.65/1.65, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 85.28 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.08e-05/4.096e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7948/0.7949, allocations: 115.3 MB / 0.971 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2459/1.041, allocations: 165.5 MB / 1.133 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/1.041, allocations: 92.84 kB / 1.133 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.3456/1.387, allocations: 128.5 MB / 1.258 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.458e-06/1.387, allocations: 0 / 1.258 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004192/1.387, allocations: 87.92 kB / 1.258 GB, free: 496 kB / 0.8542 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.6396/2.027, allocations: 2.869 MB / 1.261 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/2.027, allocations: 8.812 kB / 1.261 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002529/2.03, allocations: 0.4991 MB / 1.262 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008338/2.038, allocations: 0.9794 MB / 1.263 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007551/2.046, allocations: 2.252 MB / 1.265 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005009/2.046, allocations: 241.4 kB / 1.265 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/2.048, allocations: 319.5 kB / 1.265 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/2.063, allocations: 5.62 MB / 1.271 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/2.063, allocations: 11.97 kB / 1.271 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004546/2.063, allocations: 146 kB / 1.271 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007143/2.064, allocations: 326.3 kB / 1.271 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00912/2.073, allocations: 4.003 MB / 1.275 GB, free: 183.5 MB / 0.8542 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.05695/2.13, allocations: 29.13 MB / 1.304 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/2.134, allocations: 1.438 MB / 1.305 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003622/2.138, allocations: 1.49 MB / 1.306 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.433e-05/2.138, allocations: 21.84 kB / 1.306 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/2.138, allocations: 46.59 kB / 1.306 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.537e-06/2.138, allocations: 1.219 kB / 1.306 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=179): time 0.2239/2.362, allocations: 33.13 MB / 1.339 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/2.362, allocations: 68.28 kB / 1.339 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/2.365, allocations: 1.218 MB / 1.34 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007541/2.366, allocations: 56.95 kB / 1.34 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/2.367, allocations: 1.518 MB / 1.342 GB, free: 161 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/2.368, allocations: 0.6068 MB / 1.342 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/2.369, allocations: 39.94 kB / 1.342 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000174/2.369, allocations: 387.3 kB / 1.343 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00362/2.373, allocations: 1.788 MB / 1.344 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/2.377, allocations: 2.286 MB / 1.347 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/2.381, allocations: 2.062 MB / 1.349 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/2.381, allocations: 3.906 kB / 1.349 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02107/2.402, allocations: 7.385 MB / 1.356 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/2.402, allocations: 11.44 kB / 1.356 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/2.402, allocations: 14.47 kB / 1.356 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04999/2.452, allocations: 8.511 MB / 1.364 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/2.454, allocations: 290.7 kB / 1.364 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04057/2.495, allocations: 19.66 MB / 1.384 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/2.498, allocations: 151.9 kB / 1.384 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004902/2.498, allocations: 173.9 kB / 1.384 GB, free: 144 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.00052/2.499, allocations: 214.5 kB / 1.384 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/2.499, allocations: 197.1 kB / 1.384 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/2.512, allocations: 7.344 MB / 1.392 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/2.512, allocations: 16 kB / 1.392 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.229e-05/2.512, allocations: 13.19 kB / 1.392 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.43e-05/2.512, allocations: 7.5 kB / 1.392 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/2.532, allocations: 11.9 MB / 1.403 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/2.532, allocations: 8 kB / 1.403 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/2.533, allocations: 165.7 kB / 1.403 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03253/2.566, allocations: 8.375 MB / 1.412 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007045/2.567, allocations: 83.42 kB / 1.412 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/2.59, allocations: 19.29 MB / 1.43 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/2.59, allocations: 11.94 kB / 1.43 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/2.602, allocations: 7.576 MB / 1.438 GB, free: 95.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/2.604, allocations: 0.7015 MB / 1.439 GB, free: 94.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/2.604, allocations: 39.98 kB / 1.439 GB, free: 94.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/2.606, allocations: 135.7 kB / 1.439 GB, free: 94.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005917/2.606, allocations: 184.8 kB / 1.439 GB, free: 94.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002423/2.607, allocations: 143.9 kB / 1.439 GB, free: 94.26 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00122/2.608, allocations: 0.9387 MB / 1.44 GB, free: 93.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.81e-07/2.608, allocations: 0 / 1.44 GB, free: 93.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003315/2.611, allocations: 0.9106 MB / 1.441 GB, free: 92.42 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.01435/2.626, allocations: 10.79 MB / 1.451 GB, free: 81.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01085/2.637, allocations: 5.807 MB / 1.457 GB, free: 75.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/2.637, allocations: 3.828 kB / 1.457 GB, free: 75.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007444/2.644, allocations: 3.614 MB / 1.461 GB, free: 71.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/2.647, allocations: 465.4 kB / 1.461 GB, free: 71.49 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/2.662, allocations: 6.676 MB / 1.468 GB, free: 64.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002776/2.665, allocations: 2.735 MB / 1.47 GB, free: 61.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001332/2.666, allocations: 384.8 kB / 1.471 GB, free: 61.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/2.668, allocations: 1.222 MB / 1.472 GB, free: 60.32 MB / 0.8542 GB Notification: Performance of SimCode: time 1.393e-06/2.668, allocations: 0 / 1.472 GB, free: 60.32 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/2.782, allocations: 76.22 MB / 1.546 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/2.782, allocations: 218.6 kB / 1.546 GB, free: 1.691 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_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: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_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: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_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: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_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: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_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: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_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