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_RL_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_RL_N,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.554/2.554, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001494/0.001494, allocations: 187.1 kB / 370.8 MB, free: 10.85 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.285/2.285, 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.001694/0.001694, allocations: 95.3 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007065/0.0007066, allocations: 12.28 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2314, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9673/1.199, allocations: 166.3 MB / 1.141 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/1.199, allocations: 93.12 kB / 1.141 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5791/1.778, allocations: 139.4 MB / 1.277 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.005e-06/1.778, allocations: 4 kB / 1.277 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000358/1.779, allocations: 99.92 kB / 1.277 GB, free: 1.027 MB / 0.7917 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.01589/1.795, allocations: 3.624 MB / 1.281 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.795, allocations: 15.97 kB / 1.281 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00313/1.798, allocations: 0.579 MB / 1.281 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/1.809, allocations: 1.037 MB / 1.282 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009751/1.818, allocations: 2.614 MB / 1.285 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/1.819, allocations: 275.3 kB / 1.285 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/1.821, allocations: 355.9 kB / 1.285 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/1.845, allocations: 6.692 MB / 1.292 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002342/1.845, allocations: 11.84 kB / 1.292 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/1.847, allocations: 167.9 kB / 1.292 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001555/1.849, allocations: 379.3 kB / 1.292 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/1.866, allocations: 4.862 MB / 1.297 GB, free: 11.95 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06419/1.93, allocations: 32.14 MB / 1.329 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005789/1.936, allocations: 2.175 MB / 1.331 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/1.936, allocations: 29.22 kB / 1.331 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.619e-05/1.936, allocations: 47.88 kB / 1.331 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 6.042e-06/1.936, allocations: 0 / 1.331 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.6489/2.585, allocations: 67.3 MB / 1.396 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/2.585, allocations: 81.36 kB / 1.397 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/2.589, allocations: 1.446 MB / 1.398 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008929/2.59, allocations: 65.7 kB / 1.398 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002026/2.592, allocations: 1.724 MB / 1.4 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00183/2.594, allocations: 0.8471 MB / 1.401 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006337/2.595, allocations: 48 kB / 1.401 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003003/2.595, allocations: 415.1 kB / 1.401 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007782/2.603, allocations: 2.788 MB / 1.404 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008452/2.611, allocations: 3.331 MB / 1.407 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/2.624, allocations: 3.109 MB / 1.41 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/2.624, allocations: 4 kB / 1.41 GB, free: 5.176 MB / 0.9323 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.04649/2.67, allocations: 12.03 MB / 1.422 GB, free: 9.109 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/2.67, allocations: 11.95 kB / 1.422 GB, free: 9.098 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/2.67, allocations: 16 kB / 1.422 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8317/3.502, allocations: 16.67 MB / 1.438 GB, free: 261.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/3.504, allocations: 288.2 kB / 1.438 GB, free: 261.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09238/3.597, allocations: 32.59 MB / 1.47 GB, free: 255.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/3.601, allocations: 172.5 kB / 1.47 GB, free: 255.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/3.603, allocations: 269.7 kB / 1.471 GB, free: 255.7 MB / 0.948 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.004959/3.608, allocations: 1.578 MB / 1.472 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/3.609, allocations: 242.6 kB / 1.472 GB, free: 255.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04349/3.652, allocations: 12.16 MB / 1.484 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/3.652, allocations: 26.91 kB / 1.484 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.598e-05/3.652, allocations: 22.81 kB / 1.484 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-05/3.652, allocations: 17 kB / 1.484 GB, free: 255.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05515/3.708, allocations: 18.19 MB / 1.502 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/3.708, allocations: 3.938 kB / 1.502 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/3.709, allocations: 169.6 kB / 1.502 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1277/3.837, allocations: 16.46 MB / 1.518 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009093/3.838, allocations: 118.3 kB / 1.518 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0808/3.919, allocations: 32.25 MB / 1.55 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/3.919, allocations: 7.844 kB / 1.55 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03984/3.959, allocations: 12.25 MB / 1.562 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/3.962, allocations: 1.001 MB / 1.563 GB, free: 229.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/3.963, allocations: 50.72 kB / 1.563 GB, free: 229.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003855/3.967, allocations: 155.2 kB / 1.563 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001774/3.969, allocations: 259.9 kB / 1.563 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007853/3.97, allocations: 240.6 kB / 1.563 GB, free: 228.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002431/3.972, allocations: 1.114 MB / 1.565 GB, free: 228.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.12e-07/3.972, allocations: 0 / 1.565 GB, free: 228.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006466/3.979, allocations: 1.253 MB / 1.566 GB, free: 227.6 MB / 0.948 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.04799/4.027, allocations: 16.28 MB / 1.582 GB, free: 214.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03239/4.059, allocations: 9.392 MB / 1.591 GB, free: 206.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/4.059, allocations: 0 / 1.591 GB, free: 206.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02459/4.084, allocations: 6.078 MB / 1.597 GB, free: 200.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/4.088, allocations: 491.4 kB / 1.597 GB, free: 200.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1043/4.193, allocations: 46.29 MB / 1.642 GB, free: 153 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006405/4.199, allocations: 3.196 MB / 1.646 GB, free: 149.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001996/4.201, allocations: 380.5 kB / 1.646 GB, free: 149.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003262/4.204, allocations: 1.472 MB / 1.647 GB, free: 147.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/4.204, allocations: 0 / 1.647 GB, free: 147.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2172/4.422, allocations: 104 MB / 1.749 GB, free: 45.62 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/4.422, allocations: 247.4 kB / 1.749 GB, free: 45.34 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_RL_N.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c:7: In file included from ./Buildings_8_0_0_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 -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_RL_N_functions.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c:2: In file included from ./Buildings_8_0_0_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 -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_RL_N_records.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.c In file included from Buildings_8_0_0_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 -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_RL_N_01exo.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c:2: In file included from ./Buildings_8_0_0_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 -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_RL_N_02nls.o Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c In file included from Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:568:6: error: redefinition of 'initializeSparsePatternNLS730' void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2246:6: error: redefinition of 'initializeSparsePatternNLS652' void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2313:6: error: redefinition of 'initializeSparsePatternNLS649' void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3294:6: error: redefinition of 'initializeSparsePatternNLS285' void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3361:6: error: redefinition of 'initializeSparsePatternNLS282' void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_8_0_0_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_8_0_0_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_8_0_0_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. : recipe for target 'Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o' failed make: *** [Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o] Error 1