Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001101/0.001101, allocations: 165.2 kB / 498.1 MB, free: 5.738 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.438/1.438, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009274/0.0009274, allocations: 94.45 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004319, allocations: 8.594 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2888, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.5057, allocations: 178.5 MB / 1.397 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004364/0.5062, allocations: 103.9 kB / 1.397 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8261/1.332, allocations: 73.98 MB / 1.47 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.615e-06/1.332, allocations: 0 / 1.47 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001181/1.333, allocations: 38.03 kB / 1.47 GB, free: 176.9 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.005469/1.338, allocations: 1.619 MB / 1.471 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.338, allocations: 7.594 kB / 1.471 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001155/1.339, allocations: 255.7 kB / 1.472 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/1.342, allocations: 477.2 kB / 1.472 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/1.345, allocations: 1.149 MB / 1.473 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/1.345, allocations: 106 kB / 1.473 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/1.345, allocations: 147.5 kB / 1.473 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003939/1.349, allocations: 2.779 MB / 1.476 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/1.349, allocations: 7.844 kB / 1.476 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/1.349, allocations: 66.91 kB / 1.476 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004023/1.35, allocations: 158.9 kB / 1.476 GB, free: 172.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/1.353, allocations: 2.198 MB / 1.478 GB, free: 171.6 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01456/1.367, allocations: 14.14 MB / 1.492 GB, free: 156.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/1.369, allocations: 1.334 MB / 1.494 GB, free: 155.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/1.369, allocations: 21.42 kB / 1.494 GB, free: 155.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/1.369, allocations: 39.22 kB / 1.494 GB, free: 155.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=82): time 3.166e-06/1.369, allocations: 3.938 kB / 1.494 GB, free: 155.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139): time 0.06148/1.431, allocations: 17.75 MB / 1.511 GB, free: 137.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.431, allocations: 64.72 kB / 1.511 GB, free: 137.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/1.432, allocations: 0.9604 MB / 1.512 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/1.432, allocations: 49.7 kB / 1.512 GB, free: 136.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/1.432, allocations: 0.7223 MB / 1.513 GB, free: 135.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/1.433, allocations: 485.8 kB / 1.513 GB, free: 135.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/1.433, allocations: 32 kB / 1.513 GB, free: 135.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.433, allocations: 418.7 kB / 1.514 GB, free: 134.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/1.435, allocations: 1.472 MB / 1.515 GB, free: 133.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/1.436, allocations: 1.777 MB / 1.517 GB, free: 131.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/1.438, allocations: 1.689 MB / 1.518 GB, free: 129.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.438, allocations: 8 kB / 1.518 GB, free: 129.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00822/1.446, allocations: 5.433 MB / 1.524 GB, free: 124.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/1.447, allocations: 8 kB / 1.524 GB, free: 124.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.447, allocations: 8.562 kB / 1.524 GB, free: 124.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02404/1.471, allocations: 5.899 MB / 1.529 GB, free: 118.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/1.472, allocations: 223.6 kB / 1.53 GB, free: 118.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/1.491, allocations: 15.81 MB / 1.545 GB, free: 102 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.493, allocations: 99.92 kB / 1.545 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005555/1.493, allocations: 167.8 kB / 1.545 GB, free: 101.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (96): * Single equations (assignments): 92 * 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 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of prepare postOptimizeDAE: time 0.001794/1.495, allocations: 0.7354 MB / 1.546 GB, free: 101 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004268/1.496, allocations: 114.6 kB / 1.546 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00907/1.505, allocations: 5.007 MB / 1.551 GB, free: 95.86 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.505, allocations: 20 kB / 1.551 GB, free: 95.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-05/1.505, allocations: 11.95 kB / 1.551 GB, free: 95.83 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/1.505, allocations: 3.984 kB / 1.551 GB, free: 95.83 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/1.52, allocations: 8.4 MB / 1.559 GB, free: 87.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.52, allocations: 4 kB / 1.559 GB, free: 87.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/1.521, allocations: 119.8 kB / 1.559 GB, free: 87.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02464/1.545, allocations: 5.686 MB / 1.565 GB, free: 81.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005707/1.546, allocations: 59.94 kB / 1.565 GB, free: 81.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/1.563, allocations: 13.26 MB / 1.578 GB, free: 67.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.563, allocations: 8 kB / 1.578 GB, free: 67.87 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007901/1.571, allocations: 4.876 MB / 1.583 GB, free: 62.82 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.572, allocations: 0.5971 MB / 1.583 GB, free: 62.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/1.573, allocations: 32.55 kB / 1.583 GB, free: 62.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.574, allocations: 75.8 kB / 1.583 GB, free: 62.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004245/1.574, allocations: 137 kB / 1.584 GB, free: 61.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.575, allocations: 111.9 kB / 1.584 GB, free: 61.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001047/1.576, allocations: 0.7371 MB / 1.584 GB, free: 61.12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.31e-07/1.576, allocations: 0 / 1.584 GB, free: 61.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002566/1.578, allocations: 0.5897 MB / 1.585 GB, free: 60.54 MB / 0.9167 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 (62): * Single equations (assignments): 58 * 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 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.008194/1.586, allocations: 6.617 MB / 1.591 GB, free: 53.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006955/1.593, allocations: 4.119 MB / 1.595 GB, free: 49.63 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.593, allocations: 4.188 kB / 1.595 GB, free: 49.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00476/1.598, allocations: 2.438 MB / 1.598 GB, free: 47.17 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.6, allocations: 181.8 kB / 1.598 GB, free: 46.99 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/1.623, allocations: 19.96 MB / 1.618 GB, free: 26.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/1.625, allocations: 1.693 MB / 1.619 GB, free: 24.88 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001046/1.626, allocations: 409 kB / 1.62 GB, free: 24.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007062/1.627, allocations: 0.55 MB / 1.62 GB, free: 23.93 MB / 0.9167 GB Notification: Performance of SimCode: time 1.403e-06/1.627, allocations: 4 kB / 1.62 GB, free: 23.92 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08821/1.715, allocations: 51 MB / 1.67 GB, free: 5.23 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/1.715, allocations: 247.4 kB / 1.67 GB, free: 4.988 MB / 0.948 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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c:7: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c:2: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c:2: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2: In file included from ./Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1119:6: error: redefinition of 'residualFunc343' void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:451:6: note: previous definition is here void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:487:6: note: previous definition is here void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1160:6: error: redefinition of 'initializeStaticDataNLS343' void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:492:6: note: previous definition is here void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1173:6: error: redefinition of 'getIterationVarsNLS343' void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:505:6: note: previous definition is here void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2291:6: error: redefinition of 'residualFunc63' void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1623:6: note: previous definition is here void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1659:6: note: previous definition is here void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2332:6: error: redefinition of 'initializeStaticDataNLS63' void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1664:6: note: previous definition is here void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2345:6: error: redefinition of 'getIterationVarsNLS63' void getIterationVarsNLS63(struct DATA *inData, double *array) ^ Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1677:6: note: previous definition is here void getIterationVarsNLS63(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. make: *** [: Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o] Error 1