Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.331/2.331, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001793/0.001793, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.001001/0.001001, allocations: 102.5 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.731e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3469, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/1.568, allocations: 178.8 MB / 1.393 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/1.569, allocations: 89.62 kB / 1.394 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4663/2.035, allocations: 175 MB / 1.564 GB, free: 14.88 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.367e-06/2.035, allocations: 0 / 1.564 GB, free: 14.88 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0003344/2.035, allocations: 95.98 kB / 1.565 GB, free: 14.79 MB / 1.026 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.01353/2.049, allocations: 3.342 MB / 1.568 GB, free: 11.38 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/2.049, allocations: 8.031 kB / 1.568 GB, free: 11.38 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00292/2.052, allocations: 0.5712 MB / 1.568 GB, free: 10.79 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008258/2.06, allocations: 1.037 MB / 1.569 GB, free: 9.75 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008271/2.069, allocations: 2.618 MB / 1.572 GB, free: 7.078 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004424/2.069, allocations: 275.3 kB / 1.572 GB, free: 6.809 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002681/2.072, allocations: 363.9 kB / 1.573 GB, free: 6.453 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/2.092, allocations: 6.622 MB / 1.579 GB, free: 15.48 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/2.092, allocations: 11.88 kB / 1.579 GB, free: 15.47 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005954/2.093, allocations: 171.9 kB / 1.579 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009225/2.094, allocations: 387.3 kB / 1.58 GB, free: 14.92 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/2.105, allocations: 4.781 MB / 1.584 GB, free: 10.14 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0495/2.155, allocations: 32.13 MB / 1.616 GB, free: 7.23 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/2.158, allocations: 2.146 MB / 1.618 GB, free: 5.078 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0035/2.162, allocations: 2.205 MB / 1.62 GB, free: 2.867 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/2.162, allocations: 29.28 kB / 1.62 GB, free: 2.84 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/2.162, allocations: 47.88 kB / 1.62 GB, free: 2.781 MB / 1.073 GB Notification: Performance of pre-optimization done (n=146): time 4.418e-06/2.162, allocations: 0 / 1.62 GB, free: 2.781 MB / 1.073 GB Notification: Performance of matching and sorting (n=251): time 0.3085/2.471, allocations: 65.34 MB / 1.684 GB, free: 1.328 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/2.471, allocations: 85.39 kB / 1.684 GB, free: 1.234 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/2.474, allocations: 1.427 MB / 1.685 GB, free: 15.76 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0007879/2.475, allocations: 69.64 kB / 1.685 GB, free: 15.69 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/2.476, allocations: 1.72 MB / 1.687 GB, free: 13.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/2.478, allocations: 0.8548 MB / 1.688 GB, free: 13.08 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/2.478, allocations: 48 kB / 1.688 GB, free: 13.03 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002153/2.478, allocations: 407.1 kB / 1.688 GB, free: 12.63 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00395/2.482, allocations: 2.761 MB / 1.691 GB, free: 9.863 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/2.487, allocations: 3.288 MB / 1.694 GB, free: 6.352 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004856/2.492, allocations: 3.086 MB / 1.697 GB, free: 3.266 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/2.492, allocations: 11.94 kB / 1.697 GB, free: 3.254 MB / 1.151 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.7851/3.277, allocations: 11.94 MB / 1.709 GB, free: 313.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/3.277, allocations: 12.58 kB / 1.709 GB, free: 313.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.486e-05/3.277, allocations: 18.09 kB / 1.709 GB, free: 313.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07546/3.352, allocations: 16.65 MB / 1.725 GB, free: 313.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/3.354, allocations: 287.6 kB / 1.725 GB, free: 313.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04793/3.402, allocations: 31.18 MB / 1.756 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/3.405, allocations: 170.2 kB / 1.756 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000522/3.405, allocations: 268.6 kB / 1.756 GB, free: 308 MB / 1.151 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 () * 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.0006387/3.406, allocations: 236.9 kB / 1.757 GB, free: 307.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005462/3.406, allocations: 241.9 kB / 1.757 GB, free: 307.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02115/3.428, allocations: 12.09 MB / 1.769 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.261e-05/3.428, allocations: 24.81 kB / 1.769 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.248e-05/3.428, allocations: 26.7 kB / 1.769 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-05/3.428, allocations: 11.02 kB / 1.769 GB, free: 307.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0313/3.459, allocations: 18.12 MB / 1.786 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/3.459, allocations: 7.375 kB / 1.786 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/3.46, allocations: 167 kB / 1.786 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06469/3.525, allocations: 16.44 MB / 1.803 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008472/3.526, allocations: 118.2 kB / 1.803 GB, free: 300.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04215/3.568, allocations: 30.82 MB / 1.833 GB, free: 286.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/3.568, allocations: 9 kB / 1.833 GB, free: 286.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02347/3.591, allocations: 12.19 MB / 1.845 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003063/3.594, allocations: 1.006 MB / 1.846 GB, free: 281.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/3.596, allocations: 51.66 kB / 1.846 GB, free: 281.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/3.598, allocations: 155.1 kB / 1.846 GB, free: 281.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/3.599, allocations: 259 kB / 1.846 GB, free: 281.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006155/3.6, allocations: 235.1 kB / 1.846 GB, free: 281.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002006/3.602, allocations: 1.097 MB / 1.847 GB, free: 281.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.002e-06/3.602, allocations: 0 / 1.847 GB, free: 281.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005615/3.608, allocations: 1.259 MB / 1.849 GB, free: 281 MB / 1.151 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 () * 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.02678/3.634, allocations: 16.22 MB / 1.864 GB, free: 268.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01865/3.653, allocations: 9.287 MB / 1.873 GB, free: 260.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/3.653, allocations: 0 / 1.873 GB, free: 260.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0145/3.668, allocations: 5.991 MB / 1.879 GB, free: 255.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003516/3.671, allocations: 483.8 kB / 1.88 GB, free: 255.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/3.692, allocations: 8.565 MB / 1.888 GB, free: 247.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004576/3.696, allocations: 3.193 MB / 1.891 GB, free: 245.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001411/3.698, allocations: 389.4 kB / 1.892 GB, free: 244.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/3.7, allocations: 1.467 MB / 1.893 GB, free: 243.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.212e-06/3.7, allocations: 0 / 1.893 GB, free: 243.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1607/3.861, allocations: 104.6 MB / 1.995 GB, free: 142 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/3.861, allocations: 212.4 kB / 1.995 GB, free: 141.8 MB / 1.151 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.c:7: In file included from ./Buildings_latest_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_functions.c:2: In file included from ./Buildings_latest_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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_records.c In file included from Buildings_latest_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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_01exo.c:2: In file included from ./Buildings_latest_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2: In file included from ./Buildings_latest_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:568:6: error: redefinition of 'initializeSparsePatternNLS730' void initializeSparsePatternNLS730(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2246:6: error: redefinition of 'initializeSparsePatternNLS652' void initializeSparsePatternNLS652(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:2313:6: error: redefinition of 'initializeSparsePatternNLS649' void initializeSparsePatternNLS649(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3294:6: error: redefinition of 'initializeSparsePatternNLS285' void initializeSparsePatternNLS285(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.c:3361:6: error: redefinition of 'initializeSparsePatternNLS282' void initializeSparsePatternNLS282(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_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_latest_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_latest_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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_02nls.o] Error 1