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_RL.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_RL,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001164/0.001164, allocations: 186.9 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.929/1.929, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001071/0.001071, allocations: 75.94 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 9.875 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.4719, allocations: 159.3 MB / 1.056 GB, free: 332 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004408/0.4724, allocations: 99.92 kB / 1.056 GB, free: 232 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7384/1.211, allocations: 129 MB / 1.182 GB, free: 48.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/1.211, allocations: 0 / 1.182 GB, free: 48.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001641/1.211, allocations: 91.97 kB / 1.182 GB, free: 48.79 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006642/1.218, allocations: 3.141 MB / 1.185 GB, free: 45.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.218, allocations: 8.031 kB / 1.185 GB, free: 45.58 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009631/1.219, allocations: 0.5052 MB / 1.185 GB, free: 45.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/1.224, allocations: 0.9709 MB / 1.186 GB, free: 44.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/1.229, allocations: 2.256 MB / 1.189 GB, free: 41.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/1.229, allocations: 246.4 kB / 1.189 GB, free: 41.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006169/1.23, allocations: 311.9 kB / 1.189 GB, free: 41.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008584/1.239, allocations: 5.671 MB / 1.195 GB, free: 35.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.307e-05/1.239, allocations: 27.86 kB / 1.195 GB, free: 35.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003525/1.239, allocations: 143.9 kB / 1.195 GB, free: 35.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004774/1.24, allocations: 322.3 kB / 1.195 GB, free: 34.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005517/1.245, allocations: 4.065 MB / 1.199 GB, free: 30.66 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.02528/1.27, allocations: 29.14 MB / 1.228 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/1.273, allocations: 1.457 MB / 1.229 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/1.273, allocations: 20.97 kB / 1.229 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.273, allocations: 43.56 kB / 1.229 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.517e-06/1.273, allocations: 0 / 1.229 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=179): time 0.1339/1.407, allocations: 34.42 MB / 1.263 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/1.407, allocations: 73.34 kB / 1.263 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/1.409, allocations: 1.239 MB / 1.264 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003883/1.409, allocations: 57.7 kB / 1.264 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.41, allocations: 1.52 MB / 1.265 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007748/1.411, allocations: 0.6084 MB / 1.266 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.411, allocations: 36 kB / 1.266 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.412, allocations: 385.9 kB / 1.266 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/1.414, allocations: 1.811 MB / 1.268 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0029/1.417, allocations: 2.318 MB / 1.27 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/1.42, allocations: 2.067 MB / 1.273 GB, free: 408 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.42, allocations: 4 kB / 1.273 GB, free: 404 kB / 0.7448 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01406/1.434, allocations: 7.431 MB / 1.28 GB, free: 8.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/1.434, allocations: 17.44 kB / 1.28 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/1.434, allocations: 16 kB / 1.28 GB, free: 8.898 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0352/1.469, allocations: 8.525 MB / 1.288 GB, free: 364 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.471, allocations: 291.5 kB / 1.288 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03038/1.501, allocations: 20.45 MB / 1.308 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/1.504, allocations: 143.8 kB / 1.309 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006123/1.505, allocations: 179.9 kB / 1.309 GB, free: 10.81 MB / 0.7917 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.003617/1.508, allocations: 1.313 MB / 1.31 GB, free: 9.488 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006345/1.509, allocations: 205.6 kB / 1.31 GB, free: 9.285 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/1.523, allocations: 7.386 MB / 1.317 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/1.523, allocations: 16.19 kB / 1.317 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-05/1.523, allocations: 12 kB / 1.317 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.025e-05/1.523, allocations: 11.91 kB / 1.317 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/1.546, allocations: 11.94 MB / 1.329 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.546, allocations: 8 kB / 1.329 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/1.547, allocations: 164.6 kB / 1.329 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03501/1.582, allocations: 8.396 MB / 1.337 GB, free: 13.13 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005322/1.582, allocations: 75.92 kB / 1.338 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02842/1.611, allocations: 20.08 MB / 1.357 GB, free: 8.496 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.611, allocations: 12.03 kB / 1.357 GB, free: 8.484 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/1.625, allocations: 7.62 MB / 1.365 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/1.627, allocations: 0.7015 MB / 1.365 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005111/1.627, allocations: 47.98 kB / 1.365 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.629, allocations: 123.7 kB / 1.365 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/1.629, allocations: 180.9 kB / 1.366 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002658/1.629, allocations: 147.9 kB / 1.366 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001465/1.631, allocations: 0.9548 MB / 1.367 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.631, allocations: 0 / 1.367 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003634/1.635, allocations: 0.914 MB / 1.368 GB, free: 13.5 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 () * 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.01648/1.651, allocations: 10.83 MB / 1.378 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.4408/2.092, allocations: 5.868 MB / 1.384 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/2.092, allocations: 0 / 1.384 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007908/2.1, allocations: 3.66 MB / 1.387 GB, free: 238 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/2.103, allocations: 462.7 kB / 1.388 GB, free: 238 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04872/2.152, allocations: 35.08 MB / 1.422 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/2.154, allocations: 2.744 MB / 1.425 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001268/2.156, allocations: 384.3 kB / 1.425 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/2.157, allocations: 1.225 MB / 1.426 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.322e-06/2.157, allocations: 2.625 kB / 1.426 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/2.268, allocations: 75.83 MB / 1.5 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/2.268, allocations: 255.1 kB / 1.501 GB, free: 189 MB / 0.8542 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_RL.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.c:7: In file included from ./Buildings_maint_7_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_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_functions.c:2: In file included from ./Buildings_maint_7_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_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_records.c In file included from Buildings_maint_7_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_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_01exo.c:2: In file included from ./Buildings_maint_7_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_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.c:2: In file included from ./Buildings_maint_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_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_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_02nls.o] Error 1