Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.328/2.328, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 180 kB / 0.4901 GB, free: 2.254 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009644/0.0009643, allocations: 88.33 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 7.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2892, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.5009, allocations: 180.7 MB / 1.406 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.5013, allocations: 99.92 kB / 1.406 GB, free: 4.645 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7948/1.296, allocations: 77.13 MB / 1.481 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.264e-06/1.296, allocations: 0 / 1.481 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.96e-05/1.296, allocations: 40 kB / 1.481 GB, free: 165.1 MB / 0.9167 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.00369/1.3, allocations: 1.76 MB / 1.483 GB, free: 163.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/1.3, allocations: 8.031 kB / 1.483 GB, free: 163.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004259/1.3, allocations: 269 kB / 1.483 GB, free: 163 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/1.303, allocations: 481.1 kB / 1.484 GB, free: 162.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/1.306, allocations: 1.294 MB / 1.485 GB, free: 161.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/1.306, allocations: 119 kB / 1.485 GB, free: 161 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/1.306, allocations: 151.9 kB / 1.485 GB, free: 160.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/1.31, allocations: 3.125 MB / 1.488 GB, free: 157.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/1.31, allocations: 11.84 kB / 1.488 GB, free: 157.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/1.31, allocations: 75.89 kB / 1.488 GB, free: 157.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000552/1.311, allocations: 171 kB / 1.488 GB, free: 157.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003216/1.314, allocations: 2.507 MB / 1.491 GB, free: 154.9 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01888/1.333, allocations: 14.86 MB / 1.505 GB, free: 139.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/1.335, allocations: 1.815 MB / 1.507 GB, free: 137.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/1.335, allocations: 20.97 kB / 1.507 GB, free: 137.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/1.336, allocations: 43.56 kB / 1.507 GB, free: 137.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=104): time 3.306e-06/1.336, allocations: 0 / 1.507 GB, free: 137.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=183): time 0.1191/1.455, allocations: 31.31 MB / 1.538 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.455, allocations: 69.41 kB / 1.538 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/1.456, allocations: 1.068 MB / 1.539 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004309/1.457, allocations: 57.7 kB / 1.539 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/1.457, allocations: 0.7913 MB / 1.54 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/1.458, allocations: 0.616 MB / 1.54 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/1.458, allocations: 36 kB / 1.54 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/1.458, allocations: 385.9 kB / 1.541 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/1.461, allocations: 2.116 MB / 1.543 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/1.463, allocations: 2.454 MB / 1.545 GB, free: 98.04 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/1.466, allocations: 2.395 MB / 1.548 GB, free: 95.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.466, allocations: 11.88 kB / 1.548 GB, free: 95.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01459/1.481, allocations: 8.335 MB / 1.556 GB, free: 87.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/1.481, allocations: 11.98 kB / 1.556 GB, free: 87.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/1.481, allocations: 8 kB / 1.556 GB, free: 87.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04665/1.528, allocations: 11.25 MB / 1.567 GB, free: 75.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.529, allocations: 259.5 kB / 1.567 GB, free: 75.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0297/1.558, allocations: 23.91 MB / 1.59 GB, free: 51.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/1.561, allocations: 123.8 kB / 1.59 GB, free: 51.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004568/1.561, allocations: 267.8 kB / 1.591 GB, free: 51.1 MB / 0.9167 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.00155/1.563, allocations: 0.8056 MB / 1.591 GB, free: 50.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/1.563, allocations: 138.3 kB / 1.592 GB, free: 50.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.576, allocations: 8.004 MB / 1.599 GB, free: 42.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/1.576, allocations: 20 kB / 1.599 GB, free: 42.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/1.577, allocations: 20 kB / 1.599 GB, free: 42.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/1.577, allocations: 11.95 kB / 1.599 GB, free: 42.06 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/1.597, allocations: 12.52 MB / 1.612 GB, free: 29.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.597, allocations: 4 kB / 1.612 GB, free: 29.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/1.598, allocations: 123.8 kB / 1.612 GB, free: 29.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04529/1.643, allocations: 10.95 MB / 1.623 GB, free: 18.31 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006864/1.644, allocations: 95.89 kB / 1.623 GB, free: 18.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0261/1.67, allocations: 19.96 MB / 1.642 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/1.67, allocations: 7.938 kB / 1.642 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.686, allocations: 7.581 MB / 1.649 GB, free: 6.16 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/1.689, allocations: 0.8347 MB / 1.65 GB, free: 5.305 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/1.69, allocations: 35.98 kB / 1.65 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.691, allocations: 87.88 kB / 1.65 GB, free: 5.184 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006966/1.692, allocations: 197.6 kB / 1.651 GB, free: 4.988 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003682/1.692, allocations: 179.9 kB / 1.651 GB, free: 4.812 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001482/1.693, allocations: 0.8358 MB / 1.652 GB, free: 3.965 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/1.693, allocations: 0 / 1.652 GB, free: 3.965 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003239/1.697, allocations: 0.7776 MB / 1.652 GB, free: 3.188 MB / 0.9323 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.01628/1.713, allocations: 9.401 MB / 1.662 GB, free: 9.637 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.725, allocations: 5.995 MB / 1.667 GB, free: 3.621 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.725, allocations: 0 / 1.667 GB, free: 3.621 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008863/1.734, allocations: 3.597 MB / 1.671 GB, free: 0 / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/1.736, allocations: 194.1 kB / 1.671 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04213/1.778, allocations: 26.57 MB / 1.697 GB, free: 4.719 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/1.78, allocations: 1.827 MB / 1.699 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001424/1.781, allocations: 402.9 kB / 1.699 GB, free: 2.461 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/1.782, allocations: 0.6788 MB / 1.7 GB, free: 1.781 MB / 0.9792 GB Notification: Performance of SimCode: time 1.102e-06/1.783, allocations: 0 / 1.7 GB, free: 1.781 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/1.917, allocations: 76.02 MB / 1.774 GB, free: 6.094 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/1.917, allocations: 245.9 kB / 1.774 GB, free: 5.762 MB / 1.057 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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1