Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 393.5 MB / 408.4 MB, free: 11 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.001168/0.001168, allocations: 194.4 kB / 0.4902 GB, free: 2.262 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.592/1.592, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.0009793/0.0009791, allocations: 107.3 kB / 0.9396 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004499, allocations: 9.812 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2843, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.5149, allocations: 179.3 MB / 1.404 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.5152, allocations: 91.94 kB / 1.404 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7413/1.257, allocations: 74 MB / 1.477 GB, free: 136 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.224e-06/1.257, allocations: 0 / 1.477 GB, free: 136 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.206e-05/1.257, allocations: 36 kB / 1.477 GB, free: 136 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002797/1.26, allocations: 1.613 MB / 1.478 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.26, allocations: 12.55 kB / 1.478 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003402/1.26, allocations: 252.5 kB / 1.479 GB, free: 134.1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/1.262, allocations: 481.3 kB / 1.479 GB, free: 133.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/1.265, allocations: 1.137 MB / 1.48 GB, free: 132.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/1.265, allocations: 110.9 kB / 1.48 GB, free: 132.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/1.265, allocations: 144 kB / 1.48 GB, free: 132.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/1.268, allocations: 2.779 MB / 1.483 GB, free: 129.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/1.269, allocations: 11.84 kB / 1.483 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/1.269, allocations: 67.97 kB / 1.483 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003766/1.269, allocations: 158.8 kB / 1.483 GB, free: 129 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/1.272, allocations: 2.205 MB / 1.486 GB, free: 126.8 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/1.287, allocations: 14.14 MB / 1.499 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/1.288, allocations: 1.347 MB / 1.501 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/1.288, allocations: 20.58 kB / 1.501 GB, free: 110.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/1.288, allocations: 43.22 kB / 1.501 GB, free: 110.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=82): time 3.907e-06/1.288, allocations: 0 / 1.501 GB, free: 110.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=139): time 0.06229/1.351, allocations: 17.73 MB / 1.518 GB, free: 92.32 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/1.351, allocations: 68.72 kB / 1.518 GB, free: 92.24 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.352, allocations: 0.9565 MB / 1.519 GB, free: 91.27 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.352, allocations: 45.7 kB / 1.519 GB, free: 91.22 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/1.352, allocations: 0.7245 MB / 1.52 GB, free: 90.48 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/1.353, allocations: 489 kB / 1.52 GB, free: 90 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/1.353, allocations: 32 kB / 1.52 GB, free: 89.97 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.353, allocations: 418.7 kB / 1.521 GB, free: 89.55 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/1.355, allocations: 1.472 MB / 1.522 GB, free: 88.08 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/1.356, allocations: 1.769 MB / 1.524 GB, free: 86.21 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/1.358, allocations: 1.694 MB / 1.525 GB, free: 84.51 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.358, allocations: 4 kB / 1.525 GB, free: 84.51 MB / 0.9011 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.008322/1.367, allocations: 5.433 MB / 1.531 GB, free: 79.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/1.367, allocations: 8 kB / 1.531 GB, free: 79.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.367, allocations: 8.562 kB / 1.531 GB, free: 79.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02441/1.391, allocations: 5.899 MB / 1.537 GB, free: 73.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.392, allocations: 219.6 kB / 1.537 GB, free: 72.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/1.41, allocations: 15.83 MB / 1.552 GB, free: 56.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/1.412, allocations: 99.98 kB / 1.552 GB, free: 56.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/1.412, allocations: 163.9 kB / 1.552 GB, free: 56.48 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of prepare postOptimizeDAE: time 0.001471/1.414, allocations: 0.729 MB / 1.553 GB, free: 55.75 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/1.414, allocations: 114.6 kB / 1.553 GB, free: 55.63 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008178/1.422, allocations: 5.015 MB / 1.558 GB, free: 50.59 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.422, allocations: 12 kB / 1.558 GB, free: 50.58 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/1.422, allocations: 23.89 kB / 1.558 GB, free: 50.55 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.422, allocations: 7.969 kB / 1.558 GB, free: 50.55 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/1.437, allocations: 8.4 MB / 1.566 GB, free: 42.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.437, allocations: 4 kB / 1.566 GB, free: 42.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/1.437, allocations: 119.8 kB / 1.567 GB, free: 41.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02403/1.461, allocations: 5.684 MB / 1.572 GB, free: 36.21 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003735/1.462, allocations: 59.94 kB / 1.572 GB, free: 36.15 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/1.478, allocations: 13.26 MB / 1.585 GB, free: 22.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.478, allocations: 4 kB / 1.585 GB, free: 22.57 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007606/1.485, allocations: 4.885 MB / 1.59 GB, free: 17.51 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/1.487, allocations: 0.6011 MB / 1.59 GB, free: 16.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/1.487, allocations: 27.94 kB / 1.591 GB, free: 16.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/1.488, allocations: 83.73 kB / 1.591 GB, free: 16.78 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/1.488, allocations: 133 kB / 1.591 GB, free: 16.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.488, allocations: 115.9 kB / 1.591 GB, free: 16.54 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008391/1.489, allocations: 0.737 MB / 1.592 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/1.489, allocations: 0 / 1.592 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001979/1.491, allocations: 0.5859 MB / 1.592 GB, free: 15.21 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,9 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.008512/1.5, allocations: 6.609 MB / 1.599 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006771/1.507, allocations: 4.121 MB / 1.603 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.507, allocations: 4.062 kB / 1.603 GB, free: 4.305 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004762/1.511, allocations: 2.434 MB / 1.605 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/1.513, allocations: 180.5 kB / 1.605 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03075/1.543, allocations: 19.96 MB / 1.625 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/1.546, allocations: 1.696 MB / 1.626 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00122/1.547, allocations: 412.9 kB / 1.627 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009685/1.548, allocations: 0.55 MB / 1.627 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/1.548, allocations: 4 kB / 1.627 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.652, allocations: 51 MB / 1.677 GB, free: 7.91 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/1.653, allocations: 248.9 kB / 1.677 GB, free: 7.625 MB / 0.9792 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_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.c:7: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.c:2: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_01exo.c:2: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c In file included from Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2: In file included from ./Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1119:6: error: redefinition of 'residualFunc343' void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:451:6: note: previous definition is here void residualFunc343(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1155:6: error: redefinition of 'initializeSparsePatternNLS343' void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:487:6: note: previous definition is here void initializeSparsePatternNLS343(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1160:6: error: redefinition of 'initializeStaticDataNLS343' void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:492:6: note: previous definition is here void initializeStaticDataNLS343(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1173:6: error: redefinition of 'getIterationVarsNLS343' void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:505:6: note: previous definition is here void getIterationVarsNLS343(struct DATA *inData, double *array) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2291:6: error: redefinition of 'residualFunc63' void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1623:6: note: previous definition is here void residualFunc63(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2327:6: error: redefinition of 'initializeSparsePatternNLS63' void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1659:6: note: previous definition is here void initializeSparsePatternNLS63(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2332:6: error: redefinition of 'initializeStaticDataNLS63' void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1664:6: note: previous definition is here void initializeStaticDataNLS63(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:2345:6: error: redefinition of 'getIterationVarsNLS63' void getIterationVarsNLS63(struct DATA *inData, double *array) ^ Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.c:1677:6: note: previous definition is here void getIterationVarsNLS63(struct DATA *inData, double *array) ^ 2 warnings and 8 errors generated. make: *** [: Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_02nls.o] Error 1