Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.711/1.711, allocations: 251.9 MB / 266.8 MB, free: 10.99 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.001356/0.001356, allocations: 176.8 kB / 326.5 MB, free: 2.234 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.871/1.871, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009223/0.0009221, allocations: 94.3 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 9.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2334, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6963/0.9298, allocations: 161.9 MB / 1.058 GB, free: 62.11 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.9302, allocations: 90.91 kB / 1.058 GB, free: 62.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1546/1.085, allocations: 62.78 MB / 1.12 GB, free: 53.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/1.085, allocations: 0 / 1.12 GB, free: 53.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001068/1.085, allocations: 37.94 kB / 1.12 GB, free: 53.95 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005153/1.09, allocations: 1.761 MB / 1.121 GB, free: 52.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.09, allocations: 15.66 kB / 1.121 GB, free: 52.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008191/1.091, allocations: 255.8 kB / 1.122 GB, free: 52.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/1.095, allocations: 0.4903 MB / 1.122 GB, free: 52.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/1.098, allocations: 1.281 MB / 1.123 GB, free: 51.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/1.098, allocations: 111 kB / 1.124 GB, free: 51.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/1.098, allocations: 149.9 kB / 1.124 GB, free: 51.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005041/1.103, allocations: 3.127 MB / 1.127 GB, free: 50.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/1.103, allocations: 7.844 kB / 1.127 GB, free: 50.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/1.104, allocations: 67.12 kB / 1.127 GB, free: 50.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005725/1.104, allocations: 181.6 kB / 1.127 GB, free: 50.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003734/1.108, allocations: 2.508 MB / 1.129 GB, free: 50.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01935/1.127, allocations: 14.86 MB / 1.144 GB, free: 41.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/1.129, allocations: 1.818 MB / 1.146 GB, free: 41.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/1.13, allocations: 16.77 kB / 1.146 GB, free: 41.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/1.13, allocations: 42.38 kB / 1.146 GB, free: 41.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/1.13, allocations: 0 / 1.146 GB, free: 41.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=183): time 0.1317/1.261, allocations: 31.32 MB / 1.176 GB, free: 31.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/1.261, allocations: 68.91 kB / 1.176 GB, free: 31.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/1.263, allocations: 1.074 MB / 1.177 GB, free: 31.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005618/1.264, allocations: 54.98 kB / 1.178 GB, free: 31.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/1.264, allocations: 0.778 MB / 1.178 GB, free: 31.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006839/1.265, allocations: 0.618 MB / 1.179 GB, free: 30.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/1.265, allocations: 40.56 kB / 1.179 GB, free: 30.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.266, allocations: 387 kB / 1.179 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002567/1.268, allocations: 2.12 MB / 1.181 GB, free: 29.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003239/1.271, allocations: 2.454 MB / 1.184 GB, free: 27.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/1.275, allocations: 2.397 MB / 1.186 GB, free: 26.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.275, allocations: 0 / 1.186 GB, free: 26.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01544/1.29, allocations: 8.329 MB / 1.194 GB, free: 18.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/1.29, allocations: 14.61 kB / 1.194 GB, free: 18.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.29, allocations: 12.56 kB / 1.194 GB, free: 18.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04696/1.337, allocations: 11.25 MB / 1.205 GB, free: 6.945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.338, allocations: 247.6 kB / 1.205 GB, free: 6.703 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03541/1.374, allocations: 23.92 MB / 1.229 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.376, allocations: 123.8 kB / 1.229 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005922/1.377, allocations: 267.8 kB / 1.229 GB, free: 14.06 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,12 34} Notification: Performance of prepare postOptimizeDAE: time 0.00201/1.379, allocations: 0.8017 MB / 1.23 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/1.379, allocations: 138.4 kB / 1.23 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/1.395, allocations: 8.012 MB / 1.238 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-05/1.395, allocations: 20 kB / 1.238 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.985e-05/1.395, allocations: 16 kB / 1.238 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.555e-05/1.395, allocations: 7.969 kB / 1.238 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02603/1.421, allocations: 12.51 MB / 1.25 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-05/1.421, allocations: 4 kB / 1.25 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/1.422, allocations: 123.8 kB / 1.25 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05092/1.473, allocations: 10.95 MB / 1.261 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008625/1.474, allocations: 91.88 kB / 1.261 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03158/1.505, allocations: 19.98 MB / 1.281 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.505, allocations: 4 kB / 1.281 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/1.521, allocations: 7.577 MB / 1.288 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002797/1.524, allocations: 0.8347 MB / 1.289 GB, free: 292 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005112/1.524, allocations: 35.95 kB / 1.289 GB, free: 256 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/1.525, allocations: 95.81 kB / 1.289 GB, free: 160 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007656/1.526, allocations: 185.6 kB / 1.289 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003949/1.527, allocations: 183.8 kB / 1.289 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001461/1.528, allocations: 0.8397 MB / 1.29 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.3e-07/1.528, allocations: 0 / 1.29 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003406/1.532, allocations: 0.7698 MB / 1.291 GB, free: 14.17 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(13,89.3%) 25} * Non-linear torn systems: 2 {8 16,13 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.01547/1.547, allocations: 9.408 MB / 1.3 GB, free: 4.617 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.559, allocations: 5.994 MB / 1.306 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.559, allocations: 0 / 1.306 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00838/1.567, allocations: 3.596 MB / 1.309 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/1.569, allocations: 201.1 kB / 1.31 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/1.611, allocations: 26.56 MB / 1.336 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/1.612, allocations: 1.827 MB / 1.337 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001413/1.614, allocations: 402.9 kB / 1.338 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.615, allocations: 0.671 MB / 1.338 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of SimCode: time 1.513e-06/1.615, allocations: 0 / 1.338 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6769/2.292, allocations: 75.99 MB / 1.413 GB, free: 280 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/2.292, allocations: 258.7 kB / 1.413 GB, free: 279.6 MB / 0.8698 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_RLC_N.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h: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_RLC_N_functions.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h: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_RLC_N_records.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h: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_RLC_N_01exo.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h: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_RLC_N_02nls.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h: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_RLC_N_02nls.c:1637:6: error: redefinition of 'residualFunc452' void residualFunc452(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:641:6: note: previous definition is here void residualFunc452(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:681:6: note: previous definition is here void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1682:6: error: redefinition of 'initializeStaticDataNLS452' void initializeStaticDataNLS452(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:686:6: note: previous definition is here void initializeStaticDataNLS452(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1695:6: error: redefinition of 'getIterationVarsNLS452' void getIterationVarsNLS452(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:699:6: note: previous definition is here void getIterationVarsNLS452(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3337:6: error: redefinition of 'residualFunc66' void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2335:6: note: previous definition is here void residualFunc66(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2375:6: note: previous definition is here void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3382:6: error: redefinition of 'initializeStaticDataNLS66' void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2380:6: note: previous definition is here void initializeStaticDataNLS66(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3395:6: error: redefinition of 'getIterationVarsNLS66' void getIterationVarsNLS66(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2393:6: note: previous definition is here void getIterationVarsNLS66(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1