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.488/1.488, allocations: 249.3 MB / 261.8 MB, free: 5.961 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.001105/0.001104, allocations: 170.2 kB / 321.3 MB, free: 14.65 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.578/1.578, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0007824/0.0007821, allocations: 94.45 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.373e-05, allocations: 11.98 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1833, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7103/0.8936, allocations: 159.2 MB / 1.047 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.8939, allocations: 95.36 kB / 1.047 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3373/1.231, allocations: 128.4 MB / 1.173 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.615e-06/1.231, allocations: 4 kB / 1.173 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003414/1.232, allocations: 91.92 kB / 1.173 GB, free: 14.24 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.01072/1.242, allocations: 2.884 MB / 1.176 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/1.242, allocations: 8.031 kB / 1.176 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002644/1.245, allocations: 0.5052 MB / 1.176 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007254/1.252, allocations: 0.9748 MB / 1.177 GB, free: 9.801 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007273/1.26, allocations: 2.256 MB / 1.179 GB, free: 7.488 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/1.26, allocations: 242.4 kB / 1.18 GB, free: 7.25 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/1.262, allocations: 315.9 kB / 1.18 GB, free: 6.941 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01711/1.279, allocations: 5.625 MB / 1.185 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000246/1.279, allocations: 11.88 kB / 1.185 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001904/1.281, allocations: 143.9 kB / 1.186 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000969/1.282, allocations: 322.3 kB / 1.186 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/1.294, allocations: 4.007 MB / 1.19 GB, free: 12.49 MB / 0.8073 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.04537/1.339, allocations: 29.12 MB / 1.218 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/1.342, allocations: 1.443 MB / 1.22 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002402/1.345, allocations: 1.484 MB / 1.221 GB, free: 9.715 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/1.345, allocations: 16.98 kB / 1.221 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/1.345, allocations: 47.5 kB / 1.221 GB, free: 9.645 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 4.498e-06/1.345, allocations: 0 / 1.221 GB, free: 9.645 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.1475/1.492, allocations: 33.15 MB / 1.254 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/1.492, allocations: 69.41 kB / 1.254 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/1.495, allocations: 1.215 MB / 1.255 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003537/1.495, allocations: 53.7 kB / 1.255 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/1.496, allocations: 1.523 MB / 1.256 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008025/1.497, allocations: 0.6046 MB / 1.257 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/1.497, allocations: 40 kB / 1.257 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.497, allocations: 385.9 kB / 1.257 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002674/1.5, allocations: 1.792 MB / 1.259 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/1.503, allocations: 2.287 MB / 1.261 GB, free: 220 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5495/2.052, allocations: 2.057 MB / 1.263 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/2.053, allocations: 4.688 kB / 1.263 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01677/2.069, allocations: 7.377 MB / 1.271 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/2.069, allocations: 16.2 kB / 1.271 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/2.07, allocations: 18.98 kB / 1.271 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03836/2.108, allocations: 8.508 MB / 1.279 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/2.109, allocations: 290.6 kB / 1.279 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02981/2.139, allocations: 19.66 MB / 1.298 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/2.141, allocations: 144.7 kB / 1.299 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004927/2.142, allocations: 177.8 kB / 1.299 GB, free: 233.1 MB / 0.8698 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.0005922/2.143, allocations: 215.4 kB / 1.299 GB, free: 233 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006165/2.143, allocations: 200.2 kB / 1.299 GB, free: 233 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/2.157, allocations: 7.338 MB / 1.306 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/2.157, allocations: 18.69 kB / 1.306 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.228e-05/2.157, allocations: 14.52 kB / 1.306 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-05/2.157, allocations: 7.406 kB / 1.306 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/2.178, allocations: 11.89 MB / 1.318 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-05/2.178, allocations: 10.78 kB / 1.318 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/2.179, allocations: 161.9 kB / 1.318 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03393/2.213, allocations: 8.378 MB / 1.326 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006066/2.213, allocations: 77.55 kB / 1.326 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02578/2.239, allocations: 19.31 MB / 1.345 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/2.239, allocations: 7.625 kB / 1.345 GB, free: 220.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/2.252, allocations: 7.573 MB / 1.353 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002091/2.254, allocations: 0.7086 MB / 1.353 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007355/2.255, allocations: 38.38 kB / 1.353 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/2.257, allocations: 135.9 kB / 1.353 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000718/2.258, allocations: 177 kB / 1.354 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003033/2.258, allocations: 149.8 kB / 1.354 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00164/2.26, allocations: 0.9387 MB / 1.355 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.01e-07/2.26, allocations: 0 / 1.355 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005255/2.265, allocations: 0.9083 MB / 1.356 GB, free: 216.6 MB / 0.8698 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.01605/2.281, allocations: 10.8 MB / 1.366 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01147/2.293, allocations: 5.799 MB / 1.372 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/2.293, allocations: 0 / 1.372 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007885/2.3, allocations: 3.619 MB / 1.375 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/2.304, allocations: 465.6 kB / 1.376 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/2.319, allocations: 6.675 MB / 1.382 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003368/2.322, allocations: 2.745 MB / 1.385 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00144/2.324, allocations: 384.3 kB / 1.385 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/2.325, allocations: 1.218 MB / 1.387 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/2.325, allocations: 0 / 1.387 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/2.438, allocations: 76.23 MB / 1.461 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/2.439, allocations: 222.5 kB / 1.461 GB, free: 132.4 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_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: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_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: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_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: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_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: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_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: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_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