Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 190.4 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009712/0.0009711, allocations: 90.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004512, allocations: 7.094 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2341, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6558/0.8899, allocations: 160.1 MB / 1.057 GB, free: 152 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/0.8904, allocations: 95.89 kB / 1.057 GB, free: 152 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3161/1.206, allocations: 139.4 MB / 1.193 GB, free: 36.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.987e-06/1.207, allocations: 0 / 1.193 GB, free: 36.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004023/1.207, allocations: 99.92 kB / 1.193 GB, free: 36.85 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01356/1.221, allocations: 3.624 MB / 1.196 GB, free: 33.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.221, allocations: 8.031 kB / 1.196 GB, free: 33.15 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002955/1.224, allocations: 0.579 MB / 1.197 GB, free: 32.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00738/1.231, allocations: 1.033 MB / 1.198 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/1.239, allocations: 2.618 MB / 1.201 GB, free: 28.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/1.239, allocations: 275.3 kB / 1.201 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/1.241, allocations: 363.8 kB / 1.201 GB, free: 28.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/1.26, allocations: 6.688 MB / 1.208 GB, free: 21.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/1.26, allocations: 11.94 kB / 1.208 GB, free: 21.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002097/1.262, allocations: 167.9 kB / 1.208 GB, free: 21.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001166/1.264, allocations: 383.2 kB / 1.208 GB, free: 20.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/1.276, allocations: 4.862 MB / 1.213 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05746/1.333, allocations: 32.14 MB / 1.244 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005527/1.339, allocations: 2.161 MB / 1.247 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/1.339, allocations: 21.3 kB / 1.247 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.928e-05/1.34, allocations: 47.88 kB / 1.247 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=146): time 8.415e-06/1.34, allocations: 0 / 1.247 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=251): time 0.302/1.642, allocations: 67.32 MB / 1.312 GB, free: 7.164 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/1.642, allocations: 81.36 kB / 1.312 GB, free: 7.074 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/1.645, allocations: 1.438 MB / 1.314 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005948/1.646, allocations: 65.7 kB / 1.314 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/1.647, allocations: 1.728 MB / 1.316 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.648, allocations: 0.8548 MB / 1.316 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004462/1.649, allocations: 51.94 kB / 1.316 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000262/1.649, allocations: 407.1 kB / 1.317 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004258/1.653, allocations: 2.796 MB / 1.32 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004757/1.658, allocations: 3.323 MB / 1.323 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005192/1.663, allocations: 3.109 MB / 1.326 GB, free: 9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-05/1.663, allocations: 4 kB / 1.326 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02574/1.689, allocations: 12.03 MB / 1.338 GB, free: 12.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/1.689, allocations: 12 kB / 1.338 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.689, allocations: 20.83 kB / 1.338 GB, free: 12.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0688/1.758, allocations: 16.68 MB / 1.354 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.759, allocations: 295.5 kB / 1.354 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6383/2.398, allocations: 32.57 MB / 1.386 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/2.401, allocations: 174.5 kB / 1.386 GB, free: 221.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007991/2.402, allocations: 265.4 kB / 1.386 GB, free: 221.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {19 19,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.004683/2.407, allocations: 1.581 MB / 1.388 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007564/2.408, allocations: 243.8 kB / 1.388 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02637/2.434, allocations: 12.16 MB / 1.4 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/2.434, allocations: 22.62 kB / 1.4 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.714e-05/2.434, allocations: 24.75 kB / 1.4 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.716e-05/2.434, allocations: 11.3 kB / 1.4 GB, free: 221.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03207/2.466, allocations: 18.18 MB / 1.418 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/2.466, allocations: 10.58 kB / 1.418 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007345/2.467, allocations: 168.9 kB / 1.418 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06586/2.533, allocations: 16.47 MB / 1.434 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00128/2.534, allocations: 116.9 kB / 1.434 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05124/2.586, allocations: 32.23 MB / 1.466 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/2.586, allocations: 8.016 kB / 1.466 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02218/2.608, allocations: 12.26 MB / 1.478 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003135/2.611, allocations: 1.004 MB / 1.479 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008583/2.612, allocations: 50.84 kB / 1.479 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/2.614, allocations: 152.4 kB / 1.479 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009918/2.615, allocations: 261.5 kB / 1.479 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004242/2.615, allocations: 233.2 kB / 1.479 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001776/2.617, allocations: 1.12 MB / 1.48 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.1e-07/2.617, allocations: 3.5 kB / 1.48 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005203/2.622, allocations: 1.247 MB / 1.482 GB, free: 203.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,19 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02562/2.648, allocations: 16.28 MB / 1.498 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01852/2.667, allocations: 9.399 MB / 1.507 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/2.667, allocations: 0 / 1.507 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01367/2.68, allocations: 6.076 MB / 1.513 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/2.684, allocations: 496.3 kB / 1.513 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06884/2.753, allocations: 46.29 MB / 1.558 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004119/2.757, allocations: 3.186 MB / 1.561 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001431/2.759, allocations: 385.1 kB / 1.562 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/2.76, allocations: 1.471 MB / 1.563 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.472e-06/2.76, allocations: 0 / 1.563 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/2.908, allocations: 104 MB / 1.665 GB, free: 24.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/2.909, allocations: 252.7 kB / 1.665 GB, free: 24.15 MB / 0.8542 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c In file included from Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:528:6: error: redefinition of 'residualFunc730' void residualFunc730(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:10:6: note: previous definition is here void residualFunc730(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:568:6: error: redefinition of 'initializeSparsePatternNLS730' void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:50:6: note: previous definition is here void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:573:6: error: redefinition of 'initializeStaticDataNLS730' void initializeStaticDataNLS730(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:55:6: note: previous definition is here void initializeStaticDataNLS730(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:586:6: error: redefinition of 'getIterationVarsNLS730' void getIterationVarsNLS730(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:68:6: note: previous definition is here void getIterationVarsNLS730(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2206:6: error: redefinition of 'residualFunc652' void residualFunc652(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1359:6: note: previous definition is here void residualFunc652(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2246:6: error: redefinition of 'initializeSparsePatternNLS652' void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1399:6: note: previous definition is here void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2251:6: error: redefinition of 'initializeStaticDataNLS652' void initializeStaticDataNLS652(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1404:6: note: previous definition is here void initializeStaticDataNLS652(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2264:6: error: redefinition of 'getIterationVarsNLS652' void getIterationVarsNLS652(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1417:6: note: previous definition is here void getIterationVarsNLS652(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2273:6: error: redefinition of 'residualFunc649' void residualFunc649(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1292:6: note: previous definition is here void residualFunc649(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2313:6: error: redefinition of 'initializeSparsePatternNLS649' void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1332:6: note: previous definition is here void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2318:6: error: redefinition of 'initializeStaticDataNLS649' void initializeStaticDataNLS649(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1337:6: note: previous definition is here void initializeStaticDataNLS649(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2331:6: error: redefinition of 'getIterationVarsNLS649' void getIterationVarsNLS649(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:1350:6: note: previous definition is here void getIterationVarsNLS649(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3254:6: error: redefinition of 'residualFunc285' void residualFunc285(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2407:6: note: previous definition is here void residualFunc285(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3294:6: error: redefinition of 'initializeSparsePatternNLS285' void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2447:6: note: previous definition is here void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3299:6: error: redefinition of 'initializeStaticDataNLS285' void initializeStaticDataNLS285(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2452:6: note: previous definition is here void initializeStaticDataNLS285(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3312:6: error: redefinition of 'getIterationVarsNLS285' void getIterationVarsNLS285(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2465:6: note: previous definition is here void getIterationVarsNLS285(struct DATA *inData, double *array) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3321:6: error: redefinition of 'residualFunc282' void residualFunc282(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2340:6: note: previous definition is here void residualFunc282(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3361:6: error: redefinition of 'initializeSparsePatternNLS282' void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2380:6: note: previous definition is here void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3366:6: error: redefinition of 'initializeStaticDataNLS282' void initializeStaticDataNLS282(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2385:6: note: previous definition is here void initializeStaticDataNLS282(void *inData, threadData_t *threadData, void *inSystemData) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o] Error 1