Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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_N,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001531/0.00153, allocations: 165.9 kB / 498.1 MB, free: 5.691 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.429/1.429, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.0009072/0.0009072, allocations: 98.94 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 8.719 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2937, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/0.5137, allocations: 179.9 MB / 1.399 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/0.5141, allocations: 99.88 kB / 1.399 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.838/1.352, allocations: 77.12 MB / 1.474 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.194e-06/1.352, allocations: 0 / 1.474 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001412/1.352, allocations: 44.03 kB / 1.474 GB, free: 174.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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005641/1.358, allocations: 1.761 MB / 1.476 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.358, allocations: 10.59 kB / 1.476 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/1.359, allocations: 259.4 kB / 1.476 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/1.363, allocations: 498.8 kB / 1.476 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/1.366, allocations: 1.295 MB / 1.478 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.366, allocations: 108.8 kB / 1.478 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006416/1.367, allocations: 146.1 kB / 1.478 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/1.371, allocations: 3.129 MB / 1.481 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/1.371, allocations: 4 kB / 1.481 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/1.371, allocations: 63.73 kB / 1.481 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005614/1.372, allocations: 190.9 kB / 1.481 GB, free: 169.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003234/1.375, allocations: 2.503 MB / 1.484 GB, free: 166.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01865/1.394, allocations: 14.86 MB / 1.498 GB, free: 151 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/1.396, allocations: 1.819 MB / 1.5 GB, free: 149.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/1.396, allocations: 24.91 kB / 1.5 GB, free: 149.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/1.396, allocations: 47.55 kB / 1.5 GB, free: 149.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=104): time 2.815e-06/1.396, allocations: 3.938 kB / 1.5 GB, free: 149.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=183): time 0.1169/1.513, allocations: 31.31 MB / 1.531 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.513, allocations: 73.41 kB / 1.531 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/1.515, allocations: 1.064 MB / 1.532 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000255/1.515, allocations: 57.7 kB / 1.532 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/1.515, allocations: 0.7719 MB / 1.533 GB, free: 115.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/1.516, allocations: 0.6238 MB / 1.533 GB, free: 115 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/1.516, allocations: 43.94 kB / 1.533 GB, free: 115 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.516, allocations: 385.9 kB / 1.534 GB, free: 114.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/1.519, allocations: 2.12 MB / 1.536 GB, free: 112.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/1.521, allocations: 2.45 MB / 1.538 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/1.524, allocations: 2.395 MB / 1.54 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.524, allocations: 0 / 1.54 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01358/1.537, allocations: 8.337 MB / 1.549 GB, free: 99.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.537, allocations: 9.562 kB / 1.549 GB, free: 99.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.537, allocations: 8 kB / 1.549 GB, free: 99.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04666/1.584, allocations: 11.26 MB / 1.56 GB, free: 87.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.586, allocations: 247.6 kB / 1.56 GB, free: 87.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02971/1.615, allocations: 23.91 MB / 1.583 GB, free: 63.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/1.618, allocations: 123.8 kB / 1.583 GB, free: 63.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000493/1.618, allocations: 271.7 kB / 1.584 GB, free: 62.95 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.001605/1.62, allocations: 0.7979 MB / 1.584 GB, free: 62.14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/1.62, allocations: 142.3 kB / 1.584 GB, free: 62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/1.634, allocations: 8.012 MB / 1.592 GB, free: 53.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/1.634, allocations: 16 kB / 1.592 GB, free: 53.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/1.634, allocations: 16 kB / 1.592 GB, free: 53.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/1.634, allocations: 7.969 kB / 1.592 GB, free: 53.92 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0197/1.653, allocations: 12.52 MB / 1.605 GB, free: 41.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/1.653, allocations: 8 kB / 1.605 GB, free: 41.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/1.654, allocations: 120.3 kB / 1.605 GB, free: 41.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04579/1.7, allocations: 10.97 MB / 1.615 GB, free: 30.16 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008749/1.701, allocations: 91.88 kB / 1.615 GB, free: 30.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/1.728, allocations: 19.97 MB / 1.635 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.728, allocations: 4 kB / 1.635 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.741, allocations: 7.588 MB / 1.642 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.744, allocations: 0.8387 MB / 1.643 GB, free: 1.148 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006977/1.744, allocations: 32 kB / 1.643 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.746, allocations: 87.94 kB / 1.643 GB, free: 1.031 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006986/1.747, allocations: 185.6 kB / 1.644 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000449/1.747, allocations: 179.9 kB / 1.644 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001566/1.749, allocations: 0.8475 MB / 1.645 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/1.749, allocations: 0 / 1.645 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003833/1.753, allocations: 0.7773 MB / 1.645 GB, free: 15.04 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.01647/1.769, allocations: 9.398 MB / 1.654 GB, free: 5.492 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.781, allocations: 5.987 MB / 1.66 GB, free: 15.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/1.781, allocations: 3.938 kB / 1.66 GB, free: 15.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008364/1.789, allocations: 3.601 MB / 1.664 GB, free: 11.85 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/1.791, allocations: 192.5 kB / 1.664 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04613/1.838, allocations: 26.56 MB / 1.69 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/1.84, allocations: 1.838 MB / 1.692 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001448/1.842, allocations: 402.9 kB / 1.692 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.843, allocations: 0.6671 MB / 1.693 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of SimCode: time 8.91e-07/1.843, allocations: 0 / 1.693 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.978, allocations: 76.02 MB / 1.767 GB, free: 1.914 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/1.978, allocations: 239.2 kB / 1.767 GB, free: 1.676 MB / 1.042 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_N.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.c:7: In file included from ./Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_functions.c:2: In file included from ./Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_records.c In file included from Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_01exo.c:2: In file included from ./Buildings_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c In file included from Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:2: In file included from ./Buildings_9_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_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:1677:6: error: redefinition of 'initializeSparsePatternNLS452' void initializeSparsePatternNLS452(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_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_9_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_9_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_9_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_9_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_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.c:3377:6: error: redefinition of 'initializeSparsePatternNLS66' void initializeSparsePatternNLS66(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_9_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_9_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_9_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_9_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_9_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_02nls.o] Error 1