Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.996/2.996, allocations: 287.3 MB / 302.3 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 180.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 97.95 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004851, allocations: 20.8 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.251, allocations: 168.1 MB / 1.142 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005062/1.252, allocations: 90.94 kB / 1.143 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2886/1.541, allocations: 62.77 MB / 1.204 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.386e-06/1.541, allocations: 0 / 1.204 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001588/1.541, allocations: 40 kB / 1.204 GB, free: 9.059 MB / 0.7292 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.007567/1.548, allocations: 1.751 MB / 1.206 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.548, allocations: 12.03 kB / 1.206 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001355/1.55, allocations: 261.4 kB / 1.206 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005261/1.555, allocations: 0.4931 MB / 1.206 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/1.559, allocations: 1.274 MB / 1.208 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/1.56, allocations: 109 kB / 1.208 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/1.561, allocations: 150.8 kB / 1.208 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/1.571, allocations: 3.131 MB / 1.211 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.725e-05/1.571, allocations: 3.812 kB / 1.211 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003533/1.571, allocations: 64.28 kB / 1.211 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/1.573, allocations: 179.6 kB / 1.211 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00797/1.581, allocations: 2.507 MB / 1.214 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04016/1.621, allocations: 14.86 MB / 1.228 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005263/1.626, allocations: 1.81 MB / 1.23 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/1.626, allocations: 20.97 kB / 1.23 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/1.626, allocations: 47.56 kB / 1.23 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.827e-06/1.626, allocations: 3.938 kB / 1.23 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.3761/2.002, allocations: 31.32 MB / 1.26 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/2.003, allocations: 73.41 kB / 1.261 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/2.007, allocations: 1.068 MB / 1.262 GB, free: 292 kB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0008551/2.008, allocations: 57.7 kB / 1.262 GB, free: 228 kB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/2.009, allocations: 0.7758 MB / 1.262 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001818/2.011, allocations: 0.6199 MB / 1.263 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009371/2.012, allocations: 40 kB / 1.263 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0004048/2.012, allocations: 381.9 kB / 1.263 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008991/2.021, allocations: 2.124 MB / 1.265 GB, free: 12.26 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008977/2.031, allocations: 2.45 MB / 1.268 GB, free: 9.695 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009176/2.04, allocations: 2.399 MB / 1.27 GB, free: 7.297 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/2.04, allocations: 4 kB / 1.27 GB, free: 7.293 MB / 0.7917 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.04533/2.085, allocations: 8.34 MB / 1.278 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/2.085, allocations: 19.89 kB / 1.278 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/2.085, allocations: 8 kB / 1.278 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1036/2.189, allocations: 11.25 MB / 1.289 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/2.191, allocations: 255.6 kB / 1.29 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06695/2.258, allocations: 23.91 MB / 1.313 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004046/2.262, allocations: 123.8 kB / 1.313 GB, free: 11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/2.264, allocations: 259.8 kB / 1.313 GB, free: 10.75 MB / 0.8386 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.002994/2.267, allocations: 0.8057 MB / 1.314 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008294/2.267, allocations: 138.3 kB / 1.314 GB, free: 9.797 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0309/2.298, allocations: 8.019 MB / 1.322 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/2.298, allocations: 16 kB / 1.322 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-05/2.298, allocations: 20 kB / 1.322 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.175e-05/2.299, allocations: 7.969 kB / 1.322 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04431/2.343, allocations: 12.52 MB / 1.334 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/2.343, allocations: 4 kB / 1.334 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/2.344, allocations: 123.8 kB / 1.334 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1017/2.446, allocations: 10.95 MB / 1.345 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007815/2.447, allocations: 95.88 kB / 1.345 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0605/2.507, allocations: 19.96 MB / 1.365 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/2.507, allocations: 4 kB / 1.365 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02927/2.536, allocations: 7.577 MB / 1.372 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003069/2.54, allocations: 0.8347 MB / 1.373 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009443/2.541, allocations: 32 kB / 1.373 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/2.543, allocations: 91.88 kB / 1.373 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001196/2.545, allocations: 193.6 kB / 1.373 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006253/2.545, allocations: 175.9 kB / 1.373 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002289/2.548, allocations: 0.8436 MB / 1.374 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.7e-07/2.548, allocations: 0 / 1.374 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004904/2.553, allocations: 0.7695 MB / 1.375 GB, free: 10.85 MB / 0.9011 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.03041/2.583, allocations: 9.405 MB / 1.384 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02212/2.605, allocations: 5.995 MB / 1.39 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/2.605, allocations: 0 / 1.39 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01584/2.621, allocations: 3.608 MB / 1.394 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/2.624, allocations: 194.3 kB / 1.394 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06596/2.69, allocations: 26.56 MB / 1.42 GB, free: 12.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002874/2.692, allocations: 1.823 MB / 1.421 GB, free: 10.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002168/2.695, allocations: 414.8 kB / 1.422 GB, free: 10.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/2.697, allocations: 0.671 MB / 1.423 GB, free: 9.434 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/2.697, allocations: 7.938 kB / 1.423 GB, free: 9.426 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8406/3.538, allocations: 75.99 MB / 1.497 GB, free: 297.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003408/3.538, allocations: 253.7 kB / 1.497 GB, free: 297.5 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_8_0_0_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 -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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_8_0_0_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 -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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_8_0_0_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 -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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_8_0_0_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 -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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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. : recipe for target 'Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o' failed make: *** [Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1